/* ============================================================
   UFOK — THEME V2
   Modern training/courses platform
   Palette: Deep Navy + Electric Cyan
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand */
    --uk-navy: #0A1F44;
    --uk-navy-dark: #061534;
    --uk-navy-deep: #050E26;
    --uk-navy-mid: #1E3A8A;
    --uk-cyan: #06B6D4;
    --uk-cyan-light: #22D3EE;
    --uk-cyan-soft: #CFFAFE;
    --uk-cyan-dark: #0891B2;

    /* Surfaces */
    --uk-bg: #F8FAFC;
    --uk-bg-alt: #EEF2F7;
    --uk-card: #FFFFFF;

    /* Text */
    --uk-text: #0F172A;
    --uk-text-muted: #64748B;
    --uk-text-dim: #94A3B8;
    --uk-border: #E2E8F0;
    --uk-border-strong: #CBD5E1;

    /* Status */
    --uk-success: #10B981;
    --uk-warn: #F59E0B;
    --uk-danger: #EF4444;
    --uk-warn-bg: #FEF3C7;
    --uk-danger-bg: #FEE2E2;

    /* Radius */
    --uk-r-xs: 6px;
    --uk-r-sm: 10px;
    --uk-r: 16px;
    --uk-r-lg: 24px;
    --uk-r-xl: 32px;
    --uk-r-pill: 999px;

    /* Shadow */
    --uk-shadow-xs: 0 1px 2px rgba(10, 31, 68, .05);
    --uk-shadow-sm: 0 2px 8px rgba(10, 31, 68, .06);
    --uk-shadow: 0 4px 16px rgba(10, 31, 68, .08);
    --uk-shadow-lg: 0 12px 36px rgba(10, 31, 68, .14);
    --uk-shadow-cyan: 0 10px 28px rgba(6, 182, 212, .28);
    --uk-shadow-navy: 0 12px 30px rgba(10, 31, 68, .25);

    /* Motion */
    --uk-tx: .25s cubic-bezier(.4, 0, .2, 1);
    --uk-tx-slow: .45s cubic-bezier(.4, 0, .2, 1);

    /* Fonts */
    --uk-font: 'Tajawal', 'Almarai', system-ui, -apple-system, sans-serif;

    /* Gradients */
    --uk-grad-hero: linear-gradient(135deg, var(--uk-navy-deep) 0%, var(--uk-navy) 50%, var(--uk-navy-mid) 100%);
    --uk-grad-cyan: linear-gradient(135deg, var(--uk-cyan) 0%, var(--uk-cyan-dark) 100%);
    --uk-grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--uk-font) !important;
    background: var(--uk-bg) !important;
    color: var(--uk-text) !important;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--uk-navy); text-decoration: none; transition: color var(--uk-tx); }
a:hover { color: var(--uk-cyan-dark); text-decoration: none; }

::selection { background: var(--uk-cyan); color: #fff; }

/* Force Latin digits in numeric contexts */
.uk-numeric,
.uk-stat__value,
.uk-countdown-time,
.uk-mockup__stats,
.uk-course__meta-item,
.uk-event-card__countdown-time,
.uk-event-info__text strong,
[data-counter],
[data-countdown] {
    font-feature-settings: "lnum" 1, "tnum" 1;
    font-variant-numeric: tabular-nums lining-nums;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--uk-font);
    color: var(--uk-text);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.02em; font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { color: var(--uk-text-muted); font-size: 1rem; line-height: 1.8; margin: 0; }

/* ===== CONTAINER ===== */
.uk-container, .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION ===== */
.uk-section {
    padding: 96px 0;
    position: relative;
}
.uk-section--sm { padding: 64px 0; }
.uk-section--alt { background: var(--uk-bg-alt); }
.uk-section--dark {
    background: var(--uk-grad-hero);
    color: #fff;
}
.uk-section--dark h1, .uk-section--dark h2, .uk-section--dark h3,
.uk-section--dark h4, .uk-section--dark h5, .uk-section--dark h6 { color: #fff; }
.uk-section--dark p { color: rgba(255, 255, 255, .8); }

@media (max-width: 768px) {
    .uk-section { padding: 64px 0; }
    .uk-section--sm { padding: 48px 0; }
}

/* ===== SECTION HEAD ===== */
.uk-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.uk-section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--uk-cyan-soft);
    color: var(--uk-cyan-dark);
    border-radius: var(--uk-r-pill);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .02em;
}
.uk-section-head__eyebrow i { font-size: .75rem; }
.uk-section-head h2 {
    margin-bottom: 16px;
}
.uk-section-head h2 .accent {
    color: var(--uk-cyan-dark);
    position: relative;
}
.uk-section-head p {
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto;
}

.uk-section--dark .uk-section-head__eyebrow {
    background: rgba(6, 182, 212, .18);
    color: var(--uk-cyan-light);
}

/* ===== BUTTONS ===== */
.uk-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--uk-r-pill);
    font-family: var(--uk-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--uk-tx);
    white-space: nowrap;
    text-decoration: none !important;
    line-height: 1;
}
.uk-btn i { font-size: .9rem; transition: transform var(--uk-tx); }
.uk-btn:hover i { transform: translateX(-3px); }

.uk-btn--primary {
    background: var(--uk-grad-cyan);
    color: #fff !important;
    box-shadow: var(--uk-shadow-cyan);
}
.uk-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(6, 182, 212, .4);
    color: #fff !important;
}

.uk-btn--navy {
    background: var(--uk-navy);
    color: #fff !important;
    box-shadow: var(--uk-shadow-navy);
}
.uk-btn--navy:hover {
    background: var(--uk-navy-dark);
    transform: translateY(-2px);
    color: #fff !important;
}

.uk-btn--whatsapp {
    background: #25D366;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}
.uk-btn--whatsapp:hover {
    background: #1FB855;
    transform: translateY(-2px);
    color: #fff !important;
}
.uk-btn--whatsapp i { font-size: 1.15rem; }

.uk-btn--ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}
.uk-btn--ghost:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .5);
    color: #fff !important;
}

.uk-btn--outline {
    background: transparent;
    color: var(--uk-navy) !important;
    border: 1.5px solid var(--uk-border-strong);
}
.uk-btn--outline:hover {
    border-color: var(--uk-cyan);
    color: var(--uk-cyan-dark) !important;
    background: var(--uk-cyan-soft);
}

.uk-btn--sm { padding: 10px 20px; font-size: .9rem; }
.uk-btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== HEADER / NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid var(--uk-border);
    transition: box-shadow var(--uk-tx), border-color var(--uk-tx);
}
header.scrolled {
    box-shadow: 0 4px 20px rgba(10, 31, 68, .08);
    border-bottom-color: transparent;
}

header .navbar { padding: 16px 0 !important; }
header .navbar-brand { flex-shrink: 0; }
header .navbar-brand img { max-height: 48px; width: auto; display: block; }

header .navbar-nav .nav-link {
    color: var(--uk-text) !important;
    font-weight: 600 !important;
    font-size: .98rem !important;
    padding: 10px 4px !important;
    margin: 0 14px !important;
    position: relative;
    transition: color var(--uk-tx);
}
header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--uk-cyan);
    transition: width var(--uk-tx);
}
header .navbar-nav .nav-link:hover { color: var(--uk-cyan-dark) !important; }
header .navbar-nav .nav-link:hover::after,
header .navbar-nav .nav-item.active .nav-link::after { width: 100%; }

header .dropdown-toggle::after { display: none !important; }
header .dropdown-toggle i { font-size: .7rem; margin-inline-start: 6px; transition: transform var(--uk-tx); }
header .nav-item.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }

header .dropdown-menu {
    background: #fff !important;
    border: 1px solid var(--uk-border) !important;
    border-radius: var(--uk-r) !important;
    box-shadow: var(--uk-shadow-lg) !important;
    padding: 12px !important;
    margin-top: 0 !important;
    min-width: 240px;
}
header .dropdown-menu .dropdown-item {
    padding: 10px 14px !important;
    border-radius: var(--uk-r-sm) !important;
    font-weight: 600 !important;
    font-size: .92rem !important;
    color: var(--uk-text) !important;
    transition: all var(--uk-tx);
}
header .dropdown-menu .dropdown-item:hover {
    background: var(--uk-cyan-soft) !important;
    color: var(--uk-cyan-dark) !important;
    transform: translateX(-3px);
}

/* Hover-open (desktop) with invisible bridge so the menu stays open
   when the cursor moves from the trigger to the menu. */
@media (min-width: 992px) {
    header .nav-item.dropdown { position: relative; }

    /* Invisible bridge below the trigger — extends the hoverable area
       across the gap between the link and the dropdown panel. */
    header .nav-item.dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        width: 100%;
        height: 14px;
        pointer-events: none;
    }
    header .nav-item.dropdown:hover::after { pointer-events: auto; }

    header .dropdown-menu {
        margin-top: 14px !important;
    }

    header .nav-item.dropdown:hover .dropdown-menu,
    header .nav-item.dropdown:focus-within .dropdown-menu {
        display: block;
        animation: uk-drop-fade .2s ease;
    }
}
@keyframes uk-drop-fade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

header .navbar-toggler {
    border: none !important;
    padding: 6px !important;
}
header .navbar-toggler:focus { box-shadow: none !important; }
header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A1F44' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

header .uk-nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-inline-start: auto;
}

@media (max-width: 991.98px) {
    header .navbar { padding: 12px 0 !important; }
    header .navbar-brand img { max-height: 42px; }
    header .navbar-toggler {
        margin-inline-start: auto;
        flex-shrink: 0;
    }
    header .navbar-collapse {
        background: #fff;
        border-radius: var(--uk-r);
        margin-top: 14px;
        padding: 14px;
        box-shadow: var(--uk-shadow);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        flex-basis: 100%;
        width: 100%;
    }
    header .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 12px 4px !important;
        border-bottom: 1px solid var(--uk-border);
    }
    header .nav-item:last-of-type .nav-link { border-bottom: none; }
    header .navbar-nav .nav-link::after { display: none; }
    header .nav-item.active .nav-link { color: var(--uk-cyan-dark) !important; }

    /* Mobile dropdown — appear inline below trigger */
    header .dropdown-menu {
        position: static !important;
        float: none !important;
        margin: 8px 0 8px 0 !important;
        border: 1px solid var(--uk-border) !important;
        box-shadow: none !important;
        background: var(--uk-bg-alt) !important;
        width: 100% !important;
        padding: 8px !important;
        animation: none !important;
    }
    header .dropdown-menu .dropdown-item { padding: 10px 12px !important; }
    header .dropdown-menu .dropdown-item:hover { transform: none; }

    header .uk-nav-cta {
        margin-top: 14px;
        margin-inline-start: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    header .uk-nav-cta .uk-btn { justify-content: center; width: 100%; }
}
@media (max-width: 480px) {
    header .navbar-brand img { max-height: 36px; }
}

/* ===== HERO ===== */
.uk-hero {
    position: relative;
    background: var(--uk-grad-hero);
    color: #fff;
    padding: 110px 0 140px;
    overflow: hidden;
}

/* Grid pattern overlay */
.uk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

/* Glow blobs */
.uk-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}
.uk-hero__blob--cyan {
    width: 520px; height: 520px;
    background: var(--uk-cyan);
    opacity: .35;
    top: -160px; inset-inline-start: -180px;
}
.uk-hero__blob--blue {
    width: 600px; height: 600px;
    background: var(--uk-navy-mid);
    opacity: .55;
    bottom: -240px; inset-inline-end: -220px;
}

.uk-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (max-width: 991px) {
    .uk-hero__grid { grid-template-columns: 1fr; gap: 64px; }
}

.uk-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(6, 182, 212, .12);
    border: 1px solid rgba(6, 182, 212, .35);
    color: var(--uk-cyan-light);
    border-radius: var(--uk-r-pill);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 26px;
}
.uk-hero__eyebrow .dot {
    width: 8px; height: 8px;
    background: var(--uk-cyan-light);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .25);
    animation: uk-pulse 1.8s infinite;
}
@keyframes uk-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.uk-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.55;
    color: #fff !important;
    font-weight: 900;
    margin-bottom: 26px;
    letter-spacing: -.01em;
}
.uk-hero__title .accent {
    display: inline-block;
    padding: 0 .15em;
}
.uk-hero__title .accent {
    background: linear-gradient(120deg, var(--uk-cyan-light), var(--uk-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uk-hero__lead {
    color: rgba(255, 255, 255, .82) !important;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 540px;
}

.uk-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.uk-hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.uk-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    font-weight: 600;
}
.uk-hero__trust-item i {
    color: var(--uk-cyan-light);
    font-size: 1rem;
}

/* ============= NEW HERO MOCKUP ============= */
.uk-hero__visual {
    position: relative;
    height: 540px;
    perspective: 1200px;
}
@media (max-width: 991px) {
    .uk-hero__visual { height: 480px; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 575px) {
    .uk-hero__visual { height: 420px; }
}

/* Background glow ring */
.uk-hero__visual::before {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        var(--uk-cyan) 0%,
        transparent 30%,
        var(--uk-navy-mid) 60%,
        transparent 100%
    );
    filter: blur(40px);
    opacity: .4;
    animation: uk-rotate 20s linear infinite;
}
@keyframes uk-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Main course mockup card */
.uk-mockup {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
    width: 320px;
    background: #fff;
    border-radius: 22px;
    box-shadow:
        0 30px 70px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.08);
    overflow: hidden;
    z-index: 2;
    animation: uk-mockup-float 6s ease-in-out infinite;
}
@keyframes uk-mockup-float {
    0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
    50%      { transform: translate(-50%, -54%) rotate(-2deg); }
}

.uk-mockup__thumb {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1E40AF 0%, #06B6D4 100%);
    overflow: hidden;
}
.uk-mockup__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,.25) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,.15) 0%, transparent 40%);
}
.uk-mockup__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #fff;
    color: var(--uk-cyan-dark);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 2;
    padding-inline-start: 4px;
}
.uk-mockup__live {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: rgba(239, 68, 68, .95);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--uk-r-pill);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.uk-mockup__live::before {
    content: '';
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: uk-pulse 1.4s infinite;
}
.uk-mockup__cat {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: rgba(255,255,255,.92);
    color: var(--uk-navy);
    padding: 4px 10px;
    border-radius: var(--uk-r-pill);
    font-size: .7rem;
    font-weight: 800;
    z-index: 2;
}

.uk-mockup__body { padding: 18px 20px 20px; }
.uk-mockup__bar {
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #E2E8F0, #F1F5F9);
    margin-bottom: 8px;
}
.uk-mockup__bar--title {
    height: 14px;
    background: linear-gradient(90deg, #1E293B, #475569);
    width: 90%;
}
.uk-mockup__bar--sub { width: 65%; }

.uk-mockup__instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    padding-top: 14px;
    border-top: 1px dashed #E2E8F0;
}
.uk-mockup__avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uk-cyan), var(--uk-cyan-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}
.uk-mockup__instructor-text { flex: 1; min-width: 0; }
.uk-mockup__instructor-text strong {
    display: block;
    font-size: .82rem;
    font-weight: 800;
    color: var(--uk-text);
}
.uk-mockup__instructor-text small {
    display: block;
    font-size: .72rem;
    color: var(--uk-text-muted);
}

.uk-mockup__progress {
    height: 6px;
    background: #F1F5F9;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}
.uk-mockup__progress-bar {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, var(--uk-cyan), var(--uk-cyan-dark));
    border-radius: 999px;
}
.uk-mockup__stats {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    font-weight: 700;
    color: var(--uk-text-muted);
}
.uk-mockup__stats span { display: inline-flex; align-items: center; gap: 4px; }
.uk-mockup__stats i { color: var(--uk-cyan-dark); font-size: .7rem; }

/* Floating elements */
.uk-float {
    position: absolute;
    background: #fff;
    border-radius: var(--uk-r);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    padding: 14px 18px;
    z-index: 3;
    animation: uk-mockup-float 5s ease-in-out infinite;
}

.uk-float--cert {
    top: 14%;
    inset-inline-end: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: 1s;
}
.uk-float--cert .uk-float__icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.uk-float--cert strong {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    color: var(--uk-text);
    line-height: 1.3;
}
.uk-float--cert small {
    font-size: .72rem;
    color: var(--uk-text-muted);
}

.uk-float--rating {
    bottom: 12%;
    inset-inline-start: 0;
    text-align: center;
    min-width: 130px;
    animation-delay: 2s;
}
.uk-float--rating .uk-float__stars {
    color: #f59e0b;
    font-size: .75rem;
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.uk-float--rating strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--uk-text);
    line-height: 1;
    margin-bottom: 2px;
    font-variant-numeric: tabular-nums;
}
.uk-float--rating small {
    font-size: .68rem;
    color: var(--uk-text-muted);
    font-weight: 600;
}

.uk-float--students {
    top: 8%;
    inset-inline-start: 6%;
    display: flex;
    align-items: center;
    gap: 10px;
    animation-delay: .5s;
}
.uk-float--students .uk-float__avatars {
    display: flex;
}
.uk-float--students .uk-float__avatars span {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(135deg, var(--uk-cyan), var(--uk-navy));
    margin-inline-start: -8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.uk-float--students .uk-float__avatars span:first-child { margin-inline-start: 0; }
.uk-float--students .uk-float__avatars span:nth-child(2) { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.uk-float--students .uk-float__avatars span:nth-child(3) { background: linear-gradient(135deg, #10b981, #06b6d4); }
.uk-float--students strong {
    font-size: .85rem;
    font-weight: 800;
    color: var(--uk-text);
}
.uk-float--students small {
    display: block;
    font-size: .68rem;
    color: var(--uk-text-muted);
}

@media (max-width: 575px) {
    .uk-mockup { width: 280px; }
    .uk-float--cert { padding: 10px 14px; }
    .uk-float--rating { min-width: 110px; padding: 10px; }
}

@media (max-width: 991px) {
    .uk-hero { padding: 80px 0 100px; }
}

/* ===== FEATURE STRIP (under hero) ===== */
.uk-feature-strip {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.uk-feature-strip__inner {
    background: #fff;
    border-radius: var(--uk-r-lg);
    box-shadow: var(--uk-shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.uk-feature {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-inline-end: 1px solid var(--uk-border);
    transition: background var(--uk-tx);
}
.uk-feature:last-child { border: none; }
.uk-feature:hover { background: var(--uk-bg-alt); }

.uk-feature__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--uk-cyan-soft);
    color: var(--uk-cyan-dark);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}
.uk-feature__text strong { display: block; font-weight: 800; color: var(--uk-text); margin-bottom: 2px; font-size: 1rem; }
.uk-feature__text span { font-size: .85rem; color: var(--uk-text-muted); }

@media (max-width: 991px) {
    .uk-feature-strip { margin-top: -40px; }
    .uk-feature-strip__inner { grid-template-columns: repeat(2, 1fr); }
    .uk-feature:nth-child(2) { border-inline-end: none; }
    .uk-feature:nth-child(-n+2) { border-bottom: 1px solid var(--uk-border); }
}
@media (max-width: 575px) {
    .uk-feature-strip__inner { grid-template-columns: 1fr; }
    .uk-feature { border-inline-end: none !important; border-bottom: 1px solid var(--uk-border); }
    .uk-feature:last-child { border-bottom: none; }
}

/* ===== COURSE CARD ===== */
.uk-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

.uk-course {
    background: #fff;
    border-radius: var(--uk-r-lg);
    overflow: hidden;
    box-shadow: var(--uk-shadow-sm);
    border: 1px solid var(--uk-border);
    transition: all var(--uk-tx);
    display: flex;
    flex-direction: column;
}
.uk-course:hover {
    transform: translateY(-6px);
    box-shadow: var(--uk-shadow-lg);
    border-color: var(--uk-cyan);
}

.uk-course__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--uk-bg-alt);
    display: block;
}
.uk-course__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--uk-tx-slow);
}
.uk-course:hover .uk-course__media img { transform: scale(1.06); }

.uk-course__media-fallback {
    width: 100%; height: 100%;
    display: grid;
    place-items: center;
    background: var(--uk-grad-hero);
    color: rgba(255,255,255,.4);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}
.uk-course__media-fallback::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(6,182,212,.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(59,130,246,.2) 0%, transparent 50%);
}
.uk-course__media-fallback i { position: relative; z-index: 1; }

.uk-course__wa {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(37, 211, 102, .12);
    color: #25D366 !important;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: all var(--uk-tx);
    flex-shrink: 0;
}
.uk-course__wa:hover {
    background: #25D366;
    color: #fff !important;
    transform: scale(1.08);
}

.uk-course__badge {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--uk-r-pill);
    font-size: .78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.uk-course__badge--live {
    background: var(--uk-grad-cyan);
}
.uk-course__badge--live .dot {
    width: 7px; height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: uk-pulse 1.6s infinite;
}

.uk-course__category {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: rgba(255, 255, 255, .95);
    color: var(--uk-navy);
    padding: 6px 14px;
    border-radius: var(--uk-r-pill);
    font-size: .78rem;
    font-weight: 700;
}

.uk-course__body {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uk-course__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--uk-text);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uk-course__instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .88rem;
    color: var(--uk-text-muted);
}
.uk-course__instructor i {
    color: var(--uk-cyan-dark);
    font-size: .95rem;
}

.uk-course__excerpt {
    color: var(--uk-text-muted);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.uk-course__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.uk-course__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--uk-bg-alt);
    color: var(--uk-text);
    padding: 6px 12px;
    border-radius: var(--uk-r-pill);
    font-size: .8rem;
    font-weight: 600;
}
.uk-course__meta-item i { color: var(--uk-cyan-dark); font-size: .8rem; }

.uk-course__footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--uk-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.uk-course__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--uk-grad-cyan);
    color: #fff !important;
    border-radius: var(--uk-r-pill);
    font-weight: 700;
    font-size: .88rem;
    transition: all var(--uk-tx);
}
.uk-course__cta:hover {
    box-shadow: var(--uk-shadow-cyan);
    transform: translateX(-3px);
    color: #fff !important;
}
.uk-course__cta i { transition: transform var(--uk-tx); }

/* ===== COUNTDOWN ===== */
.uk-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--uk-warn-bg);
    color: var(--uk-warn);
    border-radius: var(--uk-r-sm);
    font-size: .78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}
.uk-countdown i { font-size: .75rem; }
.uk-countdown--hot {
    background: var(--uk-danger-bg);
    color: var(--uk-danger);
}
.uk-countdown--ended {
    background: #E5E7EB;
    color: #6B7280;
}

/* card-level countdown banner */
.uk-course__countdown-banner {
    margin: 0 22px 14px;
    padding: 10px 14px;
    background: linear-gradient(90deg, var(--uk-warn-bg), #FFF7E6);
    border-inline-start: 3px solid var(--uk-warn);
    border-radius: var(--uk-r-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--uk-text);
    font-weight: 600;
}
.uk-course__countdown-banner i { color: var(--uk-warn); }
.uk-course__countdown-banner.is-hot {
    background: linear-gradient(90deg, var(--uk-danger-bg), #FFE8E8);
    border-inline-start-color: var(--uk-danger);
}
.uk-course__countdown-banner.is-hot i { color: var(--uk-danger); }

.uk-countdown-time { font-variant-numeric: tabular-nums; direction: ltr; font-weight: 800; }

/* ===== CATEGORIES ===== */
.uk-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.uk-cat {
    position: relative;
    background: #fff;
    border-radius: var(--uk-r-lg);
    padding: 32px 28px;
    border: 1px solid var(--uk-border);
    box-shadow: var(--uk-shadow-xs);
    transition: all var(--uk-tx);
    overflow: hidden;
    display: block;
    text-align: center;
}
.uk-cat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--uk-grad-cyan);
    opacity: 0;
    transition: opacity var(--uk-tx);
    z-index: 0;
}
.uk-cat:hover { transform: translateY(-6px); box-shadow: var(--uk-shadow-lg); border-color: transparent; }
.uk-cat:hover::after { opacity: 1; }
.uk-cat:hover .uk-cat__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.uk-cat:hover .uk-cat__title, .uk-cat:hover .uk-cat__count { color: #fff !important; }
.uk-cat:hover .uk-cat__more { color: #fff; }
.uk-cat:hover .uk-cat__more i { transform: translateX(-4px); }

.uk-cat > * { position: relative; z-index: 1; }
.uk-cat__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--uk-cyan-soft);
    color: var(--uk-cyan-dark);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    transition: all var(--uk-tx);
}
.uk-cat__media {
    width: 100%;
    height: 160px;
    border-radius: var(--uk-r);
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--uk-bg-alt);
}
.uk-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.uk-cat__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--uk-text);
    margin-bottom: 6px;
    transition: color var(--uk-tx);
}
.uk-cat__count {
    font-size: .9rem;
    color: var(--uk-text-muted);
    margin-bottom: 18px;
    transition: color var(--uk-tx);
}
.uk-cat__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--uk-cyan-dark);
    font-weight: 700;
    font-size: .9rem;
    transition: color var(--uk-tx);
}
.uk-cat__more i { transition: transform var(--uk-tx); }

/* ===== HOW IT WORKS ===== */
.uk-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.uk-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    inset-inline-start: 14%;
    inset-inline-end: 14%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--uk-border-strong) 0 6px, transparent 6px 14px);
    z-index: 0;
}
.uk-step {
    position: relative;
    text-align: center;
    z-index: 1;
}
.uk-step__num {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--uk-border);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--uk-cyan-dark);
    box-shadow: var(--uk-shadow);
    transition: all var(--uk-tx);
}
.uk-step:hover .uk-step__num {
    background: var(--uk-grad-cyan);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}
.uk-step h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.uk-step p { font-size: .95rem; }

@media (max-width: 768px) {
    .uk-steps { grid-template-columns: 1fr; gap: 28px; }
    .uk-steps::before { display: none; }
}

/* ===== STATS BANNER ===== */
.uk-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.uk-stat {
    text-align: center;
    padding: 24px;
    border-radius: var(--uk-r);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}
.uk-stat__value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--uk-cyan-light);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.uk-stat__label {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    .uk-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ===== TESTIMONIALS ===== */
.uk-testimonials .swiper-container { padding: 30px 0 60px; }

.uk-testi {
    background: #fff;
    border-radius: var(--uk-r-lg);
    padding: 36px 32px;
    box-shadow: var(--uk-shadow);
    border: 1px solid var(--uk-border);
    text-align: center;
    position: relative;
}
.uk-testi::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    inset-inline-end: 28px;
    font-size: 2.5rem;
    color: var(--uk-cyan-soft);
}
.uk-testi__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid #fff;
    box-shadow: var(--uk-shadow);
}
.uk-testi__name { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.uk-testi__role { color: var(--uk-cyan-dark); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.uk-testi__text { color: var(--uk-text-muted); line-height: 1.85; font-size: .95rem; }

.uk-testimonials .swiper-button-prev,
.uk-testimonials .swiper-button-next {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--uk-shadow);
    color: var(--uk-navy);
    transition: all var(--uk-tx);
}
.uk-testimonials .swiper-button-prev:hover,
.uk-testimonials .swiper-button-next:hover {
    background: var(--uk-grad-cyan);
    color: #fff;
}
.uk-testimonials .swiper-button-prev::after,
.uk-testimonials .swiper-button-next::after { font-size: 1rem; font-weight: 900; }

/* ===== CTA STRIP ===== */
.uk-cta-strip {
    background: var(--uk-grad-hero);
    border-radius: var(--uk-r-xl);
    padding: 56px 56px;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 32px;
    align-items: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.uk-cta-strip::before {
    content: '';
    position: absolute;
    top: -100px; inset-inline-end: -100px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--uk-cyan), transparent 70%);
    opacity: .35;
}
.uk-cta-strip h2 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.uk-cta-strip p { color: rgba(255, 255, 255, .85) !important; }
.uk-cta-strip__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .uk-cta-strip { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
    .uk-cta-strip__buttons { justify-content: center; }
}

/* ===== FOOTER ===== */
.uk-footer {
    background: var(--uk-navy-deep);
    color: rgba(255, 255, 255, .7);
    padding: 80px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}
.uk-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--uk-cyan) 50%, transparent 100%);
}
.uk-footer::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,.08) 0%, transparent 60%);
    top: -300px; inset-inline-end: -200px;
    pointer-events: none;
}

.uk-footer .container { position: relative; z-index: 1; }

.uk-footer__main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 991.98px) {
    .uk-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
}
@media (max-width: 575px) {
    .uk-footer__main { grid-template-columns: 1fr; gap: 30px; }
}

/* Brand column */
.uk-footer__brand { max-width: 360px; }
.uk-footer__logo {
    display: inline-block;
    margin-bottom: 20px;
}
.uk-footer__logo img {
    max-height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}
.uk-footer__tagline {
    color: rgba(255, 255, 255, .7) !important;
    font-size: .94rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

.uk-footer__social {
    display: flex;
    gap: 10px;
}
.uk-footer__social a {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    display: grid;
    place-items: center;
    transition: all var(--uk-tx);
}
.uk-footer__social a:hover {
    background: var(--uk-cyan);
    border-color: var(--uk-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, .35);
}
.uk-footer__social img {
    width: 18px; height: 18px;
    filter: brightness(0) invert(1);
}

/* List columns */
.uk-footer__heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: .01em;
}
.uk-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 28px;
    height: 2px;
    background: var(--uk-cyan);
    border-radius: 2px;
}

.uk-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.uk-footer__list li {
    margin-bottom: 12px;
}
.uk-footer__list a {
    color: rgba(255, 255, 255, .7);
    font-size: .94rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--uk-tx);
    position: relative;
    padding-inline-start: 0;
}
.uk-footer__list a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--uk-cyan-light);
    opacity: 0;
    transition: all var(--uk-tx);
}
.uk-footer__list a:hover {
    color: #fff;
    padding-inline-start: 4px;
}
.uk-footer__list a:hover::before { opacity: 1; }

/* Contact column */
.uk-footer__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: rgba(255, 255, 255, .8);
    transition: all var(--uk-tx);
    cursor: pointer;
}
.uk-footer__contact + .uk-footer__contact {
    border-top: 1px solid rgba(255, 255, 255, .06);
}
.uk-footer__contact:hover { color: #fff; }
.uk-footer__contact-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(6, 182, 212, .12);
    color: var(--uk-cyan-light);
    display: grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--uk-tx);
}
a.uk-footer__contact:hover .uk-footer__contact-icon {
    transform: scale(1.05);
}
.uk-footer__contact-text { flex: 1; min-width: 0; }
.uk-footer__contact-text small {
    display: block;
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 3px;
    font-weight: 500;
}
.uk-footer__contact-text strong {
    display: block;
    font-size: .92rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 700;
    overflow-wrap: anywhere;
    line-height: 1.4;
}

/* Bottom strip */
.uk-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}
.uk-footer__copy {
    color: rgba(255, 255, 255, .5);
    font-size: .85rem;
    margin: 0;
}
.uk-footer__bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}
.uk-footer__bottom-links a {
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
    font-weight: 600;
    transition: color var(--uk-tx);
}
.uk-footer__bottom-links a:hover { color: var(--uk-cyan-light); }

@media (max-width: 575px) {
    .uk-footer__bottom { justify-content: center; text-align: center; }
}

/* ===== PAGE HEADER (sub-pages) ===== */
.uk-page-header {
    background: var(--uk-grad-hero);
    color: #fff;
    padding: 80px 0 90px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.uk-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(6, 182, 212, .25), transparent 60%);
}
.uk-page-header h1 {
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.uk-page-header p { color: rgba(255, 255, 255, .8) !important; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.uk-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    position: relative;
    z-index: 1;
}
.uk-breadcrumb a { color: rgba(255, 255, 255, .85); }
.uk-breadcrumb a:hover { color: var(--uk-cyan-light); }
.uk-breadcrumb .sep { color: rgba(255, 255, 255, .4); }

/* ===== PAGINATION (Bootstrap-5 default look) =====
   We let Bootstrap's bootstrap-5 pagination view handle structure & styles.
   Only minor tweaks for spacing & active state colour. */
.uk-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}
.uk-pagination-wrap nav { display: inline-block; }
.uk-pagination-wrap .pagination .page-item .page-link {
    color: var(--uk-text);
    border-color: var(--uk-border);
    font-weight: 600;
    font-feature-settings: "lnum" 1, "tnum" 1;
}
.uk-pagination-wrap .pagination .page-item.active .page-link {
    background-color: var(--uk-cyan-dark);
    border-color: var(--uk-cyan-dark);
    color: #fff;
}
.uk-pagination-wrap .pagination .page-link:hover {
    color: var(--uk-cyan-dark);
    background-color: var(--uk-cyan-soft);
    border-color: var(--uk-cyan);
}
.uk-pagination-wrap .pagination .page-item.disabled .page-link {
    color: var(--uk-text-dim);
    background-color: var(--uk-bg-alt);
}

/* ===== FORM ===== */
.uk-form-group { margin-bottom: 18px; }
.uk-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--uk-text);
    font-size: .92rem;
}
.uk-input, .uk-textarea, .uk-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--uk-border);
    border-radius: var(--uk-r-sm);
    font-family: var(--uk-font);
    font-size: .95rem;
    background: #fff;
    color: var(--uk-text);
    transition: all var(--uk-tx);
}
.uk-input:focus, .uk-textarea:focus, .uk-select:focus {
    outline: none;
    border-color: var(--uk-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, .15);
}
.uk-textarea { resize: vertical; min-height: 120px; }

/* ===== UTILITIES ===== */
.uk-text-cyan { color: var(--uk-cyan-dark) !important; }
.uk-text-navy { color: var(--uk-navy) !important; }
.uk-bg-soft { background: var(--uk-cyan-soft); }
.uk-divider {
    height: 4px;
    width: 60px;
    background: var(--uk-grad-cyan);
    border-radius: 2px;
    margin: 0 auto;
}
.uk-mt-section { margin-top: 96px; }

/* fade-in on scroll (used with simple JS observer) */
.uk-fade { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.uk-fade.is-visible { opacity: 1; transform: translateY(0); }

/* ===== TAB BUTTONS (week selector) ===== */
.uk-tabs {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--uk-border);
    border-radius: var(--uk-r-pill);
    padding: 6px;
    box-shadow: var(--uk-shadow-sm);
    flex-wrap: wrap;
    gap: 4px;
}
.uk-tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--uk-text);
    border-radius: var(--uk-r-pill);
    font-family: var(--uk-font);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--uk-tx);
    text-decoration: none !important;
}
.uk-tab-btn:hover { color: var(--uk-cyan-dark); }
.uk-tab-btn.active {
    background: var(--uk-grad-cyan);
    color: #fff;
    box-shadow: var(--uk-shadow-cyan);
}

/* ===== EMPTY STATE ===== */
.uk-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 2px dashed var(--uk-border);
    border-radius: var(--uk-r-lg);
}
.uk-empty__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--uk-cyan-soft);
    color: var(--uk-cyan-dark);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
}
.uk-empty h4 { margin-bottom: 8px; }
.uk-empty p { max-width: 380px; margin: 0 auto; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--uk-bg-alt); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--uk-cyan), var(--uk-cyan-dark));
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--uk-cyan-dark); }

/* ===== A11Y: focus rings ===== */
.uk-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--uk-cyan);
    outline-offset: 3px;
    border-radius: var(--uk-r-sm);
}

/* ===== Loading spinner ===== */
.uk-loader {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid var(--uk-cyan-soft);
    border-top-color: var(--uk-cyan);
    border-radius: 50%;
    animation: uk-spin .8s linear infinite;
    vertical-align: middle;
}
@keyframes uk-spin { to { transform: rotate(360deg); } }

/* =============================================================
   ============= RESPONSIVE LAYER (mobile-first) =================
   ============================================================= */

/* ---------- Global safety ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg, picture { max-width: 100%; height: auto; }
* { min-width: 0; }

/* Word-wrap for headings to prevent RTL overflow on narrow viewports */
.uk-hero__title,
.uk-page-header h1,
.uk-event-hero h1,
.uk-section-head h2,
.uk-course__title,
.uk-cat__title,
.uk-event-section__title {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    hyphens: auto;
}

.uk-event-description img,
.uk-event-description video,
.uk-event-description iframe { max-width: 100% !important; height: auto !important; }

/* Force inline-style margins on hero spacers down on small viewports */
@media (max-width: 768px) {
    [style*="margin-bottom: 80px"] { margin-bottom: 48px !important; }
    [style*="margin-bottom: 60px"] { margin-bottom: 40px !important; }
    [style*="margin-top: 48px"] { margin-top: 32px !important; }
    [style*="margin-top: 50px"] { margin-top: 32px !important; }
    [style*="margin-top: 40px"] { margin-top: 28px !important; }
}

/* ============================================================
   TABLET & PHONE — 991.98px and below
   Single-column hero (mockup hidden), tightened spacing.
   ============================================================ */
@media (max-width: 991.98px) {
    .container, .uk-container { padding: 0 24px; }

    /* Sections */
    .uk-section { padding: 64px 0; }
    .uk-section--sm { padding: 44px 0; }
    .uk-section-head { margin-bottom: 40px; max-width: 100%; }

    /* HERO — collapse to single column at ALL non-desktop sizes,
       hide the decorative mockup so content always has the full width. */
    .uk-hero { padding: 48px 0 64px; overflow: hidden; }
    .uk-hero__grid {
        display: block !important;          /* override grid */
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .uk-hero__visual { display: none !important; }
    .uk-hero__content { width: 100%; max-width: 100%; }

    .uk-hero__title {
        font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
        line-height: 1.45 !important;
        margin-bottom: 18px;
        letter-spacing: 0;
    }
    .uk-hero__lead {
        font-size: .98rem !important;
        line-height: 1.85;
        max-width: 100%;
        margin-bottom: 26px;
    }
    .uk-hero__cta {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 28px;
    }
    .uk-hero__cta .uk-btn { min-width: 0; }
    .uk-hero__trust { gap: 18px; row-gap: 12px; flex-wrap: wrap; }
    .uk-hero__trust-item { font-size: .88rem; }

    /* Page-level header */
    .uk-page-header { padding: 56px 0 64px; margin-bottom: 44px; }
    .uk-page-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

    /* Course grid */
    .uk-courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 22px;
    }

    /* Single-course page */
    .uk-event-hero { min-height: 320px; }
    .uk-event-hero__inner { padding: 48px 0 32px; }
    .uk-event-hero h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
    .uk-event-description { padding: 22px; }
    .uk-event-section { margin-bottom: 32px; }
    .uk-event-info-grid { gap: 14px; margin-bottom: 28px; }

    /* Footer 4 → 2 cols, balanced 2x2 grid (brand stays in its own cell) */
    .uk-footer { padding: 64px 0 0; }
    .uk-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
        padding-bottom: 44px;
    }
    .uk-footer__brand { max-width: none; }

    /* CTA strip */
    .uk-cta-strip { padding: 40px 32px; }
    .uk-cta-strip h2 { font-size: 1.6rem; }
}

/* ============================================================
   PHONE — 768px and below
   This is where the design switches to a content-first layout.
   ============================================================ */
@media (max-width: 768px) {
    .container, .uk-container { padding: 0 18px; }

    /* Sections — tight spacing */
    .uk-section { padding: 44px 0; }
    .uk-section--sm { padding: 32px 0; }
    .uk-section-head { margin-bottom: 28px; max-width: 100%; }
    .uk-section-head h2 { font-size: clamp(1.45rem, 5vw, 1.85rem); }
    .uk-section-head p { font-size: .92rem; line-height: 1.75; }
    .uk-section-head__eyebrow {
        padding: 6px 14px;
        font-size: .78rem;
        margin-bottom: 14px;
    }

    /* ===== HERO — content only on phones ===== */
    .uk-hero { padding: 36px 0 48px; }
    .uk-hero__grid { display: block; }
    .uk-hero__visual { display: none; }   /* hide decorative mockup */
    .uk-hero__eyebrow {
        margin-bottom: 18px;
        padding: 6px 14px;
        font-size: .82rem;
    }
    .uk-hero__title {
        font-size: clamp(1.55rem, 6.5vw, 2.1rem);
        line-height: 1.4;
        margin-bottom: 16px;
        letter-spacing: 0;
    }
    .uk-hero__lead {
        font-size: .95rem;
        line-height: 1.85;
        margin-bottom: 24px;
    }
    .uk-hero__cta {
        gap: 10px;
        margin-bottom: 26px;
        flex-direction: column;
    }
    .uk-hero__cta .uk-btn { width: 100%; justify-content: center; }
    .uk-hero__trust {
        gap: 10px;
        flex-wrap: wrap;
    }
    .uk-hero__trust-item { font-size: .82rem; }

    /* Page header — phone */
    .uk-page-header { padding: 40px 0 44px; margin-bottom: 28px; }
    .uk-page-header h1 { font-size: 1.5rem; margin-bottom: 8px; }
    .uk-page-header p { font-size: .9rem; }
    .uk-breadcrumb { font-size: .8rem; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

    /* Course grid */
    .uk-courses-grid { grid-template-columns: 1fr; gap: 16px; }
    .uk-course__body { padding: 18px; }
    .uk-course__title { font-size: 1.05rem; line-height: 1.45; }
    .uk-course__excerpt { font-size: .88rem; }
    .uk-course__instructor { font-size: .82rem; }
    .uk-course__cta { padding: 9px 16px; font-size: .84rem; }
    .uk-course__wa { width: 36px; height: 36px; font-size: 1.1rem; }
    .uk-course__countdown-banner {
        margin: 0 18px 12px;
        padding: 8px 12px;
        font-size: .78rem;
    }
    .uk-course__category, .uk-course__badge {
        padding: 4px 10px;
        font-size: .72rem;
    }

    /* Single-course event hero */
    .uk-event-hero { min-height: 260px; margin-bottom: 28px; }
    .uk-event-hero__inner { padding: 36px 0 24px; }
    .uk-event-hero__category { padding: 5px 12px; font-size: .78rem; margin-bottom: 14px; }
    .uk-event-hero h1 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.35; }
    .uk-event-hero__meta { gap: 12px; }
    .uk-event-hero__meta-item { font-size: .8rem; gap: 6px; }

    /* Single-course body */
    .uk-event-grid { gap: 24px; }
    .uk-event-info-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
    .uk-event-info { padding: 14px; }
    .uk-event-info__icon { width: 40px; height: 40px; font-size: .98rem; }
    .uk-event-section { margin-bottom: 28px; }
    .uk-event-section__title {
        font-size: 1.05rem;
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }
    .uk-event-section__title i { width: 30px; height: 30px; font-size: .85rem; }
    .uk-event-description { padding: 18px; font-size: .92rem; line-height: 1.85; }
    .uk-event-card__body { padding: 18px; }
    .uk-event-card__body h3 { font-size: 1.05rem; }
    .uk-event-card__body p { font-size: .87rem; margin-bottom: 16px; }
    .uk-event-card__features { padding: 14px 18px; }
    .uk-event-card__feature { font-size: .82rem; padding: 6px 0; }
    .uk-event-card__countdown { padding: 16px; }
    .uk-event-card__countdown-time { font-size: 1.05rem; }
    .uk-event-card__countdown-label { font-size: .82rem; }

    .uk-presenters { grid-template-columns: 1fr 1fr; gap: 12px; }
    .uk-presenter { padding: 16px 10px; }
    .uk-presenter img, .uk-presenter__placeholder { width: 56px; height: 56px; margin-bottom: 8px; }
    .uk-presenter__name { font-size: .9rem; }
    .uk-presenter__role { font-size: .75rem; }

    .uk-event-tags { gap: 6px; }
    .uk-event-tag { padding: 5px 12px; font-size: .8rem; }

    /* Steps — single column, no connecting line */
    .uk-steps { grid-template-columns: 1fr; gap: 22px; }
    .uk-steps::before { display: none; }
    .uk-step__num { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 14px; }
    .uk-step h4 { font-size: 1.05rem; margin-bottom: 6px; }
    .uk-step p { font-size: .88rem; }

    /* CTA strip — vertical layout */
    .uk-cta-strip {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        text-align: center;
        gap: 18px;
        border-radius: var(--uk-r-lg);
    }
    .uk-cta-strip__buttons { flex-direction: column; gap: 10px; }
    .uk-cta-strip__buttons .uk-btn { width: 100%; justify-content: center; }
    .uk-cta-strip h2 { font-size: 1.3rem; margin-bottom: 8px; }
    .uk-cta-strip p { font-size: .9rem; }

    /* Footer — single column */
    .uk-footer { padding: 48px 0 0; margin-top: 48px; }
    .uk-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .uk-footer__brand { max-width: none; }
    .uk-footer__tagline { font-size: .9rem; }
    .uk-footer__heading { font-size: .95rem; margin-bottom: 16px; padding-bottom: 10px; }
    .uk-footer__list li { margin-bottom: 10px; }
    .uk-footer__list a { font-size: .9rem; }
    .uk-footer__contact { padding: 10px 0; gap: 12px; }
    .uk-footer__contact-icon { width: 38px; height: 38px; font-size: .9rem; }
    .uk-footer__contact-text strong { font-size: .85rem; }
    .uk-footer__contact-text small { font-size: .7rem; }
    .uk-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px 0;
    }
    .uk-footer__copy { font-size: .8rem; }

    /* Feature strip — single column, less negative offset */
    .uk-feature-strip { margin-top: -20px; }
    .uk-feature-strip__inner {
        grid-template-columns: 1fr;
        border-radius: var(--uk-r);
    }
    .uk-feature {
        border-inline-end: none !important;
        border-bottom: 1px solid var(--uk-border);
        padding: 16px 18px;
        gap: 14px;
    }
    .uk-feature:last-child { border-bottom: none; }
    .uk-feature__icon { width: 42px; height: 42px; font-size: 1.05rem; border-radius: 12px; }
    .uk-feature__text strong { font-size: .92rem; }
    .uk-feature__text span { font-size: .78rem; }

    /* About-us */
    .uk-about-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .uk-about-visual__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 360px;
        margin: 0 auto;
    }
    .uk-about-visual__card,
    .uk-about-visual__card--lg { padding: 16px; transform: none !important; }
    .uk-about-visual__card:hover,
    .uk-about-visual__card--lg:hover { transform: translateY(-4px) !important; }
    .uk-about-visual__icon { width: 40px; height: 40px; font-size: 1.05rem; }
    .uk-about-visual__card h4 { font-size: .92rem; }
    .uk-about-visual__card p { font-size: .8rem; }

    .uk-mission-grid { grid-template-columns: 1fr !important; gap: 14px; }
    .uk-mission-card { padding: 24px 20px; }
    .uk-mission-card__icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 16px; }
    .uk-mission-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
    .uk-mission-card p { font-size: .9rem; }

    .uk-goals-grid { grid-template-columns: 1fr 1fr !important; gap: 14px; }
    .uk-goal { padding: 24px 16px; }
    .uk-goal__icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 12px; }
    .uk-goal h4 { font-size: .98rem; }
    .uk-goal p { font-size: .82rem; }

    /* Buttons — touch-friendly */
    .uk-btn { padding: 12px 20px; font-size: .92rem; min-height: 44px; }
    .uk-btn--lg { padding: 14px 24px; font-size: .98rem; min-height: 48px; }
    .uk-btn--sm { padding: 9px 16px; font-size: .84rem; min-height: 38px; }

    /* Forms */
    .uk-input, .uk-select, .uk-textarea {
        font-size: .94rem;
        padding: 12px 14px;
        min-height: 44px;
    }
    .uk-form-label { font-size: .88rem; margin-bottom: 6px; }

    /* Filter bar on courses page */
    .uk-filters { padding: 16px; margin-bottom: 24px; border-radius: var(--uk-r); }
    .uk-filters__row { grid-template-columns: 1fr; gap: 10px; }
    .uk-filters__search input,
    .uk-filters__select { min-height: 44px; }

    /* Pagination */
    .uk-pagination-wrap { margin-top: 32px; }
    .uk-pagination-wrap .pagination { gap: 4px; }
    .uk-pagination-wrap .pagination .page-link {
        padding: .4rem .7rem;
        font-size: .85rem;
        min-width: 36px;
    }

    /* Empty state */
    .uk-empty { padding: 36px 18px; border-radius: var(--uk-r); }
    .uk-empty__icon { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 12px; }
    .uk-empty h4 { font-size: 1rem; }
    .uk-empty p { font-size: .86rem; }

    /* Share buttons — icon-only on phones */
    .uk-share { gap: 8px; }
    .uk-share__btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .uk-share__btn span { display: none; }

    /* Generic typography downsizing */
    h1 { font-size: clamp(1.4rem, 5vw, 2rem); }
    h2 { font-size: clamp(1.25rem, 4.5vw, 1.65rem); }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
    p { font-size: .92rem; }
}

/* (Tablet-only mockup re-show removed — hero is content-only below 992px.) */

/* ============================================================
   SMALL PHONE — 480px and below
   ============================================================ */
@media (max-width: 480px) {
    .container, .uk-container { padding: 0 16px; }
    .uk-section { padding: 36px 0; }
    .uk-section--sm { padding: 28px 0; }
    .uk-section-head { margin-bottom: 24px; }

    .uk-hero { padding: 28px 0 40px; }
    .uk-hero__title { font-size: 1.55rem; line-height: 1.4; }
    .uk-hero__lead { font-size: .9rem; }

    .uk-page-header { padding: 32px 0 36px; margin-bottom: 24px; }
    .uk-page-header h1 { font-size: 1.35rem; }
    .uk-page-header p { font-size: .85rem; }

    .uk-event-hero { min-height: 220px; }
    .uk-event-hero__inner { padding: 30px 0 22px; }
    .uk-event-hero h1 { font-size: 1.2rem; }

    .uk-presenters { grid-template-columns: 1fr; }
    .uk-mission-card { padding: 22px 18px; }
    .uk-goal { padding: 20px 14px; }
    .uk-goals-grid { grid-template-columns: 1fr !important; }

    .uk-section-head h2 { font-size: 1.35rem; }
    .uk-cta-strip h2 { font-size: 1.2rem; }
    .uk-cta-strip { padding: 24px 18px; }
}

/* ============================================================
   VERY SMALL PHONE — 360px and below
   ============================================================ */
@media (max-width: 360px) {
    .container, .uk-container { padding: 0 14px; }
    .uk-hero__title { font-size: 1.35rem; }
    .uk-hero__lead { font-size: .88rem; }
    .uk-page-header h1 { font-size: 1.25rem; }
    .uk-event-hero h1 { font-size: 1.1rem; }
    .uk-section-head h2 { font-size: 1.25rem; }
    .uk-btn { padding: 11px 16px; font-size: .88rem; }
}
