/*
 * ISG Website — Beautification Overrides
 * Targets the Elementor + ElementsKit + Smart Slider 3 markup of the home page.
 * Loaded after Elementor's own CSS so these rules win the cascade.
 */

/* -------------------------------------------------------------------------- */
/*  Design tokens                                                             */
/* -------------------------------------------------------------------------- */

:root {
    --isg-purple: #6f3df0;
    --isg-purple-deep: #4b1cc7;
    --isg-pink: #d946ef;
    --isg-cyan: #06b6d4;
    --isg-ink: #0f172a;
    --isg-ink-2: #1e293b;
    --isg-muted: #64748b;
    --isg-surface: #ffffff;
    --isg-surface-2: #f8fafc;
    --isg-border: #e5e7eb;
    --isg-gradient: linear-gradient(135deg, #6f3df0 0%, #d946ef 50%, #06b6d4 100%);
    --isg-gradient-soft: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 50%, #ecfeff 100%);
    --isg-shadow-sm: 0 2px 8px rgba(15, 23, 42, .04), 0 1px 2px rgba(15, 23, 42, .04);
    --isg-shadow-md: 0 12px 32px -8px rgba(79, 70, 229, .14), 0 4px 12px rgba(15, 23, 42, .06);
    --isg-shadow-lg: 0 24px 56px -12px rgba(79, 70, 229, .25), 0 8px 16px rgba(15, 23, 42, .08);
    --isg-radius-sm: 12px;
    --isg-radius-md: 18px;
    --isg-radius-lg: 28px;
    --isg-ease: cubic-bezier(.2, .8, .2, 1);
}

/* -------------------------------------------------------------------------- */
/*  Typography & base                                                         */
/* -------------------------------------------------------------------------- */

body,
.elementor-widget-container,
.ekit-wid-con,
.elementor-heading-title {
    font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--isg-ink);
}

body {
    background: var(--isg-surface);
}

p {
    color: var(--isg-muted);
    line-height: 1.7;
}

/* -------------------------------------------------------------------------- */
/*  Section headings — "Our Learning Journey" style                           */
/* -------------------------------------------------------------------------- */

/* Decorative bar + dot above every section title */
.elementskit-section-title-wraper {
    position: relative;
}

.elementskit-section-title-wraper::before {
    content: "";
    display: block;
    width: 72px;
    height: 6px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: var(--isg-gradient);
    box-shadow: 0 6px 16px -4px rgba(111, 61, 240, .45);
}

.elementskit-section-title-wraper.text_left::before,
.ekit-heading.text-left::before {
    margin-left: 0;
}

.ekit-heading--title.elementskit-section-title {
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    color: var(--isg-ink);
}

.ekit-heading--title.elementskit-section-title span span {
    background: var(--isg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
}

.ekit-heading__description p,
.elementor-heading-title + .elementor-widget-container p {
    font-size: 16px;
    color: var(--isg-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------------------------------- */
/*  Hero / Smart Slider 3                                                     */
/* -------------------------------------------------------------------------- */

.n2-ss-slider {
    border-radius: var(--isg-radius-lg);
    overflow: hidden;
    box-shadow: var(--isg-shadow-lg);
}

.n2-ss-slider-3.n2-ow {
    border-radius: var(--isg-radius-lg);
    overflow: hidden;
}

/* Subtle gradient overlay on hero — preserve slider's own JS-positioned content */
.n2-ss-slide-background-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(15, 23, 42, .35) 0%, rgba(15, 23, 42, .12) 50%, rgba(15, 23, 42, 0) 75%);
    pointer-events: none;
}

/* Hero text card */
.n2-ss-section-main-content {
    backdrop-filter: blur(8px);
}

/* Hero "Get Started Now" button */
.n2-ss-button-container a {
    transition: transform .35s var(--isg-ease), box-shadow .35s var(--isg-ease), filter .35s var(--isg-ease) !important;
}

.n2-ss-button-container a:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 32px -8px rgba(111, 61, 240, .45) !important;
}

/* Slider arrows: subtle circular background */
.n2-ss-slider-controls .nextend-arrow {
    background: rgba(255, 255, 255, .85) !important;
    backdrop-filter: blur(6px);
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--isg-shadow-md);
    transition: background .3s var(--isg-ease), transform .3s var(--isg-ease);
}

.n2-ss-slider-controls .nextend-arrow:hover {
    background: var(--isg-purple) !important;
    transform: scale(1.06);
}

.n2-ss-slider-controls .nextend-arrow img {
    width: 18px;
    height: 18px;
}

/* -------------------------------------------------------------------------- */
/*  "Our Learning Journey" steps                                              */
/* -------------------------------------------------------------------------- */

.thim-ekits-heading .sub-heading {
    color: var(--isg-purple);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 6px;
}

.thim-ekits-heading .title {
    font-size: 22px;
    font-weight: 700;
    color: var(--isg-ink);
    margin: 0 0 10px;
}

.thim-ekits-heading .title span {
    background: var(--isg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.thim-ekits-heading .desc p {
    color: var(--isg-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Learning Journey step cards — numbered, gradient-bordered, glassy */
.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading) {
    border-radius: var(--isg-radius-md);
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: var(--isg-shadow-sm);
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
    position: relative;
    padding: 22px 24px 22px 84px;
    counter-increment: journey-step;
    overflow: hidden;
}

/* Number badge */
.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading)::after {
    content: counter(journey-step, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    background: var(--isg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -.04em;
    transition: transform .4s var(--isg-ease);
    pointer-events: none;
}

/* Animated gradient border on hover */
.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading)::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--isg-gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s var(--isg-ease);
    pointer-events: none;
}

.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading):hover {
    transform: translateY(-6px);
    box-shadow: var(--isg-shadow-md);
}

.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading):hover::before {
    opacity: 1;
}

.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading):hover::after {
    transform: translateY(-50%) scale(1.08);
}

/* Reset counter on the column that holds the Journey steps */
.elementor-column:has(> .elementor-widget-wrap > .elementor-element.e-con-boxed.e-child .thim-ekits-heading) {
    counter-reset: journey-step;
}

/* The pre-styled step icons inside the journey cards — slightly smaller now */
.elementor-element.e-con-boxed.e-child:has(.thim-ekits-heading) .elementor-widget-image-box .elementor-image-box-img img {
    width: 48px;
    height: 48px;
}

/* The small pre-designed icon at the front of each step (leave artwork intact) */
.elementor-widget-image-box .elementor-image-box-img {
    border-radius: 14px;
    overflow: hidden;
    display: inline-flex;
    box-shadow: 0 8px 20px -8px rgba(15, 23, 42, .25);
    transition: transform .35s var(--isg-ease);
}

.elementor-widget-image-box .elementor-image-box-img img {
    border-radius: 14px;
    display: block;
}

.elementor-element.e-con-boxed.e-child:hover .elementor-image-box-img {
    transform: rotate(-4deg) scale(1.05);
}

/* Right-side hero image of learning journey */
.elementor-widget-image img {
    border-radius: var(--isg-radius-md);
}

/* -------------------------------------------------------------------------- */
/*  "Our Mission Vision" infoboxes                                            */
/* -------------------------------------------------------------------------- */

/* Force the grid parent that contains 2 infobox children into a 2-column layout */
.elementor-element.e-grid:has(> .e-con-boxed.e-child .elementskit-infobox) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px;
}

@media (max-width: 768px) {
    .elementor-element.e-grid:has(> .e-con-boxed.e-child .elementskit-infobox) {
        grid-template-columns: 1fr !important;
    }
}

.elementor-element.e-con-boxed.e-child:has(.elementskit-infobox) {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.elementor-widget-elementskit-icon-box,
.elementor-widget-elementskit-icon-box .ekit-wid-con {
    height: 100%;
}

.elementskit-infobox {
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--isg-radius-lg);
    padding: 32px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .9) inset,
        var(--isg-shadow-md);
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
    height: 100%;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.elementskit-infobox::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 160px;
    height: 160px;
    background: var(--isg-gradient);
    filter: blur(40px);
    opacity: 0;
    transition: opacity .4s var(--isg-ease);
    pointer-events: none;
    border-radius: 50%;
}

.elementskit-infobox:hover {
    transform: translateY(-4px);
    box-shadow: var(--isg-shadow-md);
    border-color: transparent;
}

.elementskit-infobox:hover::after {
    opacity: .12;
}

.elementskit-box-header {
    flex-shrink: 0;
    margin: 0 !important;
}

.elementskit-info-box-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--isg-gradient-soft);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: transform .35s var(--isg-ease);
}

.elementskit-infobox:hover .elementskit-info-box-icon {
    transform: scale(1.06) rotate(-3deg);
}

.elementskit-info-box-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--isg-purple);
}

.elementskit-infobox .box-body {
    flex: 1;
}

.elementskit-infobox .box-body .box-title,
.elementskit-infobox .box-body .elementskit-info-box-title,
.elementskit-infobox .box-body h2,
.elementskit-infobox .box-body h3,
.elementskit-infobox .box-body h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--isg-ink);
    margin: 0 0 8px;
    line-height: 1.3;
}

.elementskit-infobox .box-body p {
    color: var(--isg-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/*  Organizations / logos strip                                               */
/* -------------------------------------------------------------------------- */

.elementor-widget-image img {
    transition: transform .35s var(--isg-ease), filter .35s var(--isg-ease);
}

/* The Organizations section uses one composite PNG of all logos. Frame it. */
.elementor-section:has(> .elementor-container h2.elementskit-section-title) .elementor-widget-image:has(img[src*="logo.png"]) {
    max-width: 920px;
    margin: 8px auto 0;
    padding: 26px 32px;
    background: var(--isg-surface);
    border: 1px solid var(--isg-border);
    border-radius: var(--isg-radius-md);
    box-shadow: var(--isg-shadow-sm);
    transition: box-shadow .35s var(--isg-ease), transform .35s var(--isg-ease);
}

.elementor-section:has(> .elementor-container h2.elementskit-section-title) .elementor-widget-image:has(img[src*="logo.png"]):hover {
    box-shadow: var(--isg-shadow-md);
    transform: translateY(-3px);
}

.elementor-section:has(> .elementor-container h2.elementskit-section-title) .elementor-widget-image:has(img[src*="logo.png"]) img {
    width: 100%;
    height: auto;
}

/* -------------------------------------------------------------------------- */
/*  Available Courses — ElementsKit image-box cards                           */
/* -------------------------------------------------------------------------- */

.elementor-widget-elementskit-image-box .elementskit-info-image-box {
    border-radius: var(--isg-radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--isg-shadow-sm);
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

/* Corner badge */
.elementor-widget-elementskit-image-box .elementskit-info-image-box::before {
    content: "AI · ROBOTICS";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--isg-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -6px rgba(111, 61, 240, .55);
    pointer-events: none;
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--isg-shadow-lg);
}

.elementor-widget-elementskit-image-box .elementskit-box-header,
.elementor-widget-elementskit-image-box .image-box-img-left {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

.elementor-widget-elementskit-image-box .elementskit-box-header img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--isg-ease);
}

.elementor-widget-elementskit-image-box .elementskit-info-image-box:hover .elementskit-box-header img {
    transform: scale(1.06);
}

.elementor-widget-elementskit-image-box .elementskit-box-body {
    padding: 22px 24px 8px;
    flex: 1;
}

.elementor-widget-elementskit-image-box .elementskit-info-box-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--isg-purple);
    margin: 0 0 10px;
}

.elementor-widget-elementskit-image-box .elementskit-box-style-content {
    font-size: 14.5px;
    color: var(--isg-muted);
    line-height: 1.65;
    margin: 0 0 14px;
}

.elementor-widget-elementskit-image-box .elementskit-box-footer {
    padding: 0 24px 22px;
}

.elementor-widget-elementskit-image-box .elementskit-btn {
    color: var(--isg-purple);
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .3s var(--isg-ease), color .3s var(--isg-ease);
}

.elementor-widget-elementskit-image-box .elementskit-btn::after {
    content: "→";
    transition: transform .3s var(--isg-ease);
    display: inline-block;
}

.elementor-widget-elementskit-image-box .elementskit-btn:hover {
    color: var(--isg-purple-deep);
}

.elementor-widget-elementskit-image-box .elementskit-btn:hover::after {
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/*  "Future-Ready AI & Robotics Education" CTA                                */
/* -------------------------------------------------------------------------- */

.elementor-widget-heading .elementor-heading-title {
    color: var(--isg-ink);
    font-weight: 800;
    letter-spacing: -.02em;
}

.elementor-widget-icon-list .elementor-icon-list-text {
    color: var(--isg-ink-2);
    font-weight: 500;
}

.elementor-widget-icon-list .elementor-icon-list-icon i,
.elementor-widget-icon-list .elementor-icon-list-icon svg {
    color: var(--isg-purple) !important;
    fill: var(--isg-purple) !important;
}

/* Buttons */
.elementor-button,
.elementor-widget-button .elementor-button {
    border-radius: 999px !important;
    padding: 12px 26px !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
    transition: transform .3s var(--isg-ease), box-shadow .3s var(--isg-ease), filter .3s var(--isg-ease) !important;
    border: 0 !important;
}

.elementor-button:not(.elementor-button-link):not(.elementor-size-link),
.elementor-widget-button .elementor-button {
    background: var(--isg-gradient) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -8px rgba(111, 61, 240, .45);
}

.elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 32px -10px rgba(111, 61, 240, .55) !important;
}

/* Outlined variant — second button in a pair */
.elementor-widget-button + .elementor-widget-button .elementor-button,
.elementor-button.elementor-button-link {
    background: transparent !important;
    color: var(--isg-purple) !important;
    box-shadow: inset 0 0 0 1.5px var(--isg-purple) !important;
}

.elementor-widget-button + .elementor-widget-button .elementor-button:hover {
    background: var(--isg-purple) !important;
    color: #fff !important;
    box-shadow: 0 16px 32px -10px rgba(111, 61, 240, .55) !important;
}

/* -------------------------------------------------------------------------- */
/*  "Latest Updates" image carousel                                           */
/* -------------------------------------------------------------------------- */

.elementor-widget-image-carousel .elementor-image-carousel-wrapper {
    padding: 6px 4px 12px;
}

.elementor-widget-image-carousel .swiper-slide {
    border-radius: var(--isg-radius-md);
    overflow: hidden;
    position: relative;
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
}

.elementor-widget-image-carousel .swiper-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(15, 23, 42, .55) 0%, rgba(15, 23, 42, 0) 100%);
    opacity: 0;
    transition: opacity .35s var(--isg-ease);
    pointer-events: none;
}

.elementor-widget-image-carousel .swiper-slide .swiper-slide-inner {
    margin: 0;
}

.elementor-widget-image-carousel .swiper-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--isg-radius-md);
    display: block;
    transition: transform .6s var(--isg-ease);
}

.elementor-widget-image-carousel .swiper-slide:hover img {
    transform: scale(1.06);
}

.elementor-widget-image-carousel .swiper-slide:hover {
    box-shadow: var(--isg-shadow-md);
}

.elementor-widget-image-carousel .swiper-slide:hover::after {
    opacity: 1;
}

/* Carousel arrow controls */
.elementor-swiper-button {
    background: rgba(255, 255, 255, .95) !important;
    border-radius: 50%;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--isg-shadow-md);
    color: var(--isg-purple);
    transition: background .3s var(--isg-ease), transform .3s var(--isg-ease), color .3s var(--isg-ease);
}

.elementor-swiper-button:hover {
    background: var(--isg-purple) !important;
    color: #fff;
    transform: scale(1.08);
}

.elementor-swiper-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/*  Site header (Elementor-built header template)                             */
/* -------------------------------------------------------------------------- */

/* Sticky-feel transparent header with backdrop blur */
.ekit-template-content-header,
.ekit-template-content-header .elementor-element[data-element_type="container"]:first-child {
    background: rgba(255, 255, 255, .82) !important;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

/* Nav menu items */
.ekit-template-content-header .elementor-nav-menu .elementor-item,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li > a {
    color: var(--isg-ink-2) !important;
    font-weight: 600 !important;
    font-size: 15px;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    transition: background .25s var(--isg-ease), color .25s var(--isg-ease);
}

.ekit-template-content-header .elementor-nav-menu .elementor-item:hover,
.ekit-template-content-header .elementor-nav-menu .elementor-item.elementor-item-active,
.ekit-template-content-header .elementskit-menu-container .elementskit-navbar-nav > li > a:hover {
    color: var(--isg-purple) !important;
    background: var(--isg-gradient-soft);
}

/* ElementsKit dropdown panel (e.g. K-12 → Foundation / Advanced) */
.ekit-template-content-header .elementskit-submenu-panel,
.elementskit-navbar-nav .elementskit-dropdown {
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, .06) !important;
    border-radius: 14px !important;
    padding: 8px !important;
    margin-top: 6px;
    box-shadow:
        0 24px 56px -16px rgba(15, 23, 42, .18),
        0 4px 12px rgba(15, 23, 42, .06) !important;
    min-width: 220px !important;
    list-style: none;
}

.ekit-template-content-header .elementskit-submenu-panel li,
.elementskit-navbar-nav .elementskit-dropdown li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.ekit-template-content-header .elementskit-submenu-panel a.dropdown-item,
.elementskit-navbar-nav .elementskit-dropdown a.dropdown-item,
.ekit-template-content-header .elementskit-submenu-panel li > a,
.elementskit-navbar-nav .elementskit-dropdown li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    color: var(--isg-ink-2) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    line-height: 1.3;
    background: transparent !important;
    transition: background .2s var(--isg-ease), color .2s var(--isg-ease);
}

.ekit-template-content-header .elementskit-submenu-panel a.dropdown-item:hover,
.elementskit-navbar-nav .elementskit-dropdown a.dropdown-item:hover,
.ekit-template-content-header .elementskit-submenu-panel li > a:hover,
.elementskit-navbar-nav .elementskit-dropdown li > a:hover {
    background: var(--isg-gradient-soft) !important;
    color: var(--isg-purple) !important;
}

/* Submenu indicator arrow next to items with children */
.ekit-template-content-header .elementskit-submenu-panel .elementskit-submenu-indicator,
.elementskit-navbar-nav .elementskit-dropdown .elementskit-submenu-indicator {
    width: 10px;
    height: 10px;
    fill: currentColor;
    transform: rotate(-90deg);
    opacity: .55;
}

/* Nested submenu (Foundation → Class 1-3 etc.) — position to the right of the parent item */
.ekit-template-content-header .elementskit-submenu-panel .elementskit-submenu-panel,
.elementskit-navbar-nav .elementskit-dropdown .elementskit-dropdown {
    margin-top: 0;
    margin-left: 6px;
}

/* Header "Login" button — promote it to gradient pill */
.ekit-template-content-header a[href*="login"],
.ekit-template-content-header .elementor-button[href*="login"] {
    background: var(--isg-gradient) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 24px -8px rgba(111, 61, 240, .45);
    transition: transform .3s var(--isg-ease), filter .3s var(--isg-ease), box-shadow .3s var(--isg-ease);
}

.ekit-template-content-header a[href*="login"]:hover,
.ekit-template-content-header .elementor-button[href*="login"]:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 32px -10px rgba(111, 61, 240, .55);
}

/* Legacy buso-lightning fallback header (if Elementor header is disabled) */
.header-menu,
#top-menu-bottom-border {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--isg-border);
}

.header-menu ul,
#top-menu-bottom-border ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.header-menu a,
#top-menu-bottom-border a {
    color: var(--isg-ink-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background .25s var(--isg-ease), color .25s var(--isg-ease);
}

.header-menu a:hover,
#top-menu-bottom-border a:hover {
    background: var(--isg-gradient-soft);
    color: var(--isg-purple);
}

/* -------------------------------------------------------------------------- */
/*  Theme footer (buso-lightning)                                             */
/* -------------------------------------------------------------------------- */

.footer-wrap {
    background: linear-gradient(180deg, #fafbff 0%, #f4f5fb 100%);
    border-top: 1px solid var(--isg-border);
    padding: 56px 0 0;
    color: var(--isg-ink-2);
}

.footer-wrap .widget-title {
    color: var(--isg-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-wrap a {
    color: var(--isg-ink-2);
    text-decoration: none;
    transition: color .25s var(--isg-ease);
}

.footer-wrap a:hover {
    color: var(--isg-purple);
}

.bottom-credits {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--isg-border);
    font-size: 14px;
    color: var(--isg-muted);
}

/* -------------------------------------------------------------------------- */
/*  Section rhythm — soft alternating background + decorative blobs           */
/* -------------------------------------------------------------------------- */

/* Page body — layered gradient-mesh backdrop with slow drift */
body.home,
body.page-id-8 {
    position: relative;
    background:
        radial-gradient(880px 560px at 12% 8%, rgba(111, 61, 240, .14), transparent 62%),
        radial-gradient(760px 560px at 92% 18%, rgba(217, 70, 239, .12), transparent 62%),
        radial-gradient(720px 600px at 6% 55%, rgba(6, 182, 212, .12), transparent 60%),
        radial-gradient(900px 700px at 96% 70%, rgba(111, 61, 240, .10), transparent 60%),
        radial-gradient(720px 520px at 50% 100%, rgba(217, 70, 239, .08), transparent 60%),
        #fafbff;
}

body.home::before,
body.page-id-8::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(rgba(111, 61, 240, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
    opacity: .55;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 30%, transparent 75%);
}

body.home > *,
body.page-id-8 > * {
    position: relative;
    /* z-index: 1; */
}

/* Section heading wrapper — give every section more breathing room */
.elementor-section.elementor-top-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

/* Decorative section-title underline */
.ekit-heading--title.elementskit-section-title {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 6px;
}

.ekit-heading--title.elementskit-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--isg-gradient);
}

.elementskit-section-title-wraper.text_left .ekit-heading--title.elementskit-section-title::after,
.ekit-heading.text-left .ekit-heading--title.elementskit-section-title::after {
    left: 0;
    transform: none;
}

/* Smoother images */
img {
    max-width: 100%;
    height: auto;
}

/* Selection */
::selection {
    background: rgba(111, 61, 240, .2);
    color: var(--isg-ink);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* -------------------------------------------------------------------------- */
/*  GTranslate language switcher — anchor cleanly into the header             */
/* -------------------------------------------------------------------------- */

/* The plugin injects a floating widget at body-level. Place it neatly         */
/* inside the top-right of the viewport, aligned with the header.             */
#gt-wrapper-55466514,
.gtranslate_wrapper {
    position: fixed !important;
    top: 14px !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 9999;
    width: auto !important;
    height: auto !important;
}

.gt_float_switcher {
    box-shadow: var(--isg-shadow-md) !important;
    border-radius: 999px !important;
    border: 1px solid var(--isg-border) !important;
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(8px);
    overflow: hidden;
    font-family: inherit !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    min-width: 120px;
    transition: box-shadow .25s var(--isg-ease), transform .25s var(--isg-ease);
}

.gt_float_switcher:hover {
    box-shadow: var(--isg-shadow-lg) !important;
    transform: translateY(-1px);
}

.gt_float_switcher .gt-selected {
    background: transparent !important;
    border: 0 !important;
    padding: 6px 12px !important;
    line-height: 1 !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    color: var(--isg-ink) !important;
    padding: 4px 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.gt_float_switcher .gt-selected .gt-current-lang img {
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .15);
}

/* Hide the empty dropdown panel until it's actively expanded */
.gt_float_switcher .gt_options {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: var(--isg-shadow-md) !important;
    margin-top: 6px;
    overflow: hidden;
    background: #fff !important;
}

.gt_float_switcher .gt_options a {
    padding: 8px 14px !important;
    font-size: 13px !important;
    transition: background .2s var(--isg-ease), color .2s var(--isg-ease);
}

.gt_float_switcher .gt_options a:hover {
    background: var(--isg-gradient-soft) !important;
    color: var(--isg-purple) !important;
}

/* The bare wrapper before JS init: keep it from rendering an empty rectangle */
.gtranslate_wrapper:empty,
#gt-wrapper-55466514:empty {
    display: none !important;
}

/* On narrow screens, shrink the switcher so it doesn't crowd the logo */
@media (max-width: 768px) {
    #gt-wrapper-55466514,
    .gtranslate_wrapper {
        top: 10px !important;
        right: 10px !important;
    }
    .gt_float_switcher {
        min-width: 0;
    }
    .gt_float_switcher .gt-current-lang span {
        display: none;
    }
}

/* -------------------------------------------------------------------------- */
/*  Injected sections (Foundation + Advanced Courses)                         */
/* -------------------------------------------------------------------------- */

.isg-extra {
    /* Hidden until JS has placed it in the right spot. Avoids a flash at the page bottom. */
    display: none;
}

.isg-extra.isg-extra--placed {
    display: block;
}

.isg-extra__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.isg-section {
    padding: 48px 0;
}

.isg-section__head {
    text-align: center;
    margin-bottom: 36px;
}

.isg-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--isg-gradient-soft);
    color: var(--isg-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 14px;
}

.isg-section__title {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
    color: var(--isg-ink);
    margin: 0 0 10px;
}

.isg-section__title .grad {
    background: var(--isg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.isg-section__sub {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    color: var(--isg-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.65;
}

/* Foundation cards (8 in a 4-col grid) */
.isg-foundation__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1024px) {
    .isg-foundation__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .isg-foundation__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.isg-fcard {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    background: var(--isg-surface);
    box-shadow: var(--isg-shadow-sm);
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
    position: relative;
}

.isg-fcard:hover {
    transform: translateY(-8px);
    box-shadow: var(--isg-shadow-lg);
}

/* Top "illustration" panel */
.isg-fcard__art {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.isg-fcard__art svg {
    width: 56%;
    height: 56%;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, .15));
    transition: transform .5s var(--isg-ease);
}

.isg-fcard:hover .isg-fcard__art svg {
    transform: scale(1.06) rotate(-2deg);
}

/* Decorative ellipse behind the icon */
.isg-fcard__art::before {
    content: "";
    position: absolute;
    inset: 18% 18% auto;
    height: 64%;
    background: rgba(255, 255, 255, .25);
    border-radius: 50%;
    filter: blur(20px);
}

/* Tone variants */
.isg-fcard--sun  .isg-fcard__art { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
.isg-fcard--aqua .isg-fcard__art { background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%); }
.isg-fcard--sky  .isg-fcard__art { background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%); }
.isg-fcard--rose .isg-fcard__art { background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%); }
.isg-fcard--lime .isg-fcard__art { background: linear-gradient(135deg, #a3e635 0%, #65a30d 100%); }

.isg-fcard__body {
    padding: 16px 18px 18px;
    text-align: center;
}

.isg-fcard__label {
    display: block;
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--isg-ink);
    margin-bottom: 10px;
}

.isg-fcard__btn {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(111, 61, 240, .08);
    color: var(--isg-purple);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .25s var(--isg-ease), color .25s var(--isg-ease);
}

.isg-fcard:hover .isg-fcard__btn {
    background: var(--isg-gradient);
    color: #fff;
}

/* Advanced cards (4 in a row) */
.isg-advanced__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1024px) {
    .isg-advanced__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .isg-advanced__grid {
        grid-template-columns: 1fr;
    }
}

.isg-acard {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    box-shadow: var(--isg-shadow-sm);
    transition: transform .4s var(--isg-ease), box-shadow .4s var(--isg-ease);
}

.isg-acard:hover {
    transform: translateY(-8px);
    box-shadow: var(--isg-shadow-lg);
}

/* Photo placeholder uses a tinted gradient + grain pattern.
   Replace with real images by setting the background-image of .isg-acard__media. */
.isg-acard__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s var(--isg-ease);
}

.isg-acard:hover .isg-acard__media {
    transform: scale(1.06);
}

.isg-acard--aqua .isg-acard__media { background-image: linear-gradient(135deg, #0ea5e9 0%, #1e3a8a 100%); }
.isg-acard--sun  .isg-acard__media { background-image: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.isg-acard--sky  .isg-acard__media { background-image: linear-gradient(135deg, #1e293b 0%, #4338ca 100%); }
.isg-acard--rose .isg-acard__media { background-image: linear-gradient(135deg, #f43f5e 0%, #7c2d12 100%); }

.isg-acard__overlay {
    position: absolute;
    inset: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 30%, rgba(15, 23, 42, .75) 100%);
    color: #fff;
}

.isg-acard__label {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.isg-acard__btn {
    align-self: flex-start;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--isg-purple);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .25s var(--isg-ease), transform .25s var(--isg-ease);
}

.isg-acard:hover .isg-acard__btn {
    background: var(--isg-gradient);
    color: #fff;
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/*  Hero (Smart Slider) — bolder card                                         */
/* -------------------------------------------------------------------------- */

.n2-ss-section-main-content .n2-ss-layer-with-background {
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-radius: 22px !important;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .35) !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
}

/* Headline inside hero card */
.n2-ss-slider [class*="n2-font-"][class*="-hover"] {
    color: var(--isg-ink) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

/* Slide background — slightly more contrast for legibility behind the white card */
.n2-ss-slide-background-image::after {
    background: linear-gradient(110deg, rgba(15, 23, 42, .45) 0%, rgba(15, 23, 42, .18) 50%, rgba(15, 23, 42, 0) 75%) !important;
}

/* -------------------------------------------------------------------------- */
/*  Latest Updates — section hidden by user request                           */
/*  The Elementor section itself is preserved (still editable in Elementor)   */
/*  but not displayed on the front end.                                       */
/* -------------------------------------------------------------------------- */

.elementor-element.elementor-element-530037d {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/*  Latest Updates — bigger thumbs with caption overlay (kept for if/when      */
/*  the section is re-enabled)                                                */
/* -------------------------------------------------------------------------- */

.elementor-widget-image-carousel .swiper-slide img {
    height: 280px;
}

.elementor-widget-image-carousel .swiper-slide-inner {
    position: relative;
}

.elementor-widget-image-carousel .swiper-slide-inner::after {
    content: attr(data-caption);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(to top, rgba(15, 23, 42, .85) 0%, rgba(15, 23, 42, 0) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--isg-ease), transform .35s var(--isg-ease);
}

.elementor-widget-image-carousel .swiper-slide:hover .swiper-slide-inner::after {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/*  Footer — dark navy + social icons                                         */
/* -------------------------------------------------------------------------- */

/* Elementor footer template wrapper */
.ekit-template-content-footer,
.ekit-template-content-footer .elementor-element[data-element_type="container"] {
    background: linear-gradient(180deg, #0b1437 0%, #0a0f2c 100%) !important;
    color: rgba(255, 255, 255, .85);
}

.ekit-template-content-footer h1,
.ekit-template-content-footer h2,
.ekit-template-content-footer h3,
.ekit-template-content-footer h4,
.ekit-template-content-footer h5,
.ekit-template-content-footer h6,
.ekit-template-content-footer .elementor-heading-title {
    color: #fff !important;
}

.ekit-template-content-footer p,
.ekit-template-content-footer li,
.ekit-template-content-footer .elementor-icon-list-text,
.ekit-template-content-footer .elementor-widget-container {
    color: rgba(255, 255, 255, .72) !important;
}

.ekit-template-content-footer a {
    color: rgba(255, 255, 255, .85) !important;
    text-decoration: none;
    transition: color .25s var(--isg-ease);
}

.ekit-template-content-footer a:hover {
    color: #fff !important;
}

.ekit-template-content-footer .elementor-icon-list-icon i,
.ekit-template-content-footer .elementor-icon-list-icon svg {
    color: var(--isg-pink) !important;
    fill: var(--isg-pink) !important;
}

/* Social icons */
.ekit-template-content-footer .elementor-social-icon,
.ekit-template-content-footer .elementor-widget-social-icons a {
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
    border-radius: 12px !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--isg-ease), transform .25s var(--isg-ease);
}

.ekit-template-content-footer .elementor-social-icon:hover,
.ekit-template-content-footer .elementor-widget-social-icons a:hover {
    background: var(--isg-gradient) !important;
    transform: translateY(-2px);
}

/* Bottom credits row */
.ekit-template-content-footer hr,
.ekit-template-content-footer .elementor-divider-separator {
    border-color: rgba(255, 255, 255, .08) !important;
    background: rgba(255, 255, 255, .08) !important;
}

/* Fallback (legacy buso-lightning footer) — also dark navy */
.footer-wrap {
    background: linear-gradient(180deg, #0b1437 0%, #0a0f2c 100%);
    color: rgba(255, 255, 255, .85);
}

.footer-wrap .widget-title,
.footer-wrap h1,
.footer-wrap h2,
.footer-wrap h3 {
    color: #fff;
}

.footer-wrap a {
    color: rgba(255, 255, 255, .85);
}

.footer-wrap a:hover {
    color: var(--isg-pink);
}

.bottom-credits {
    border-top-color: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .55);
}
