:root {
    --primary-color: #2148C0;
    --secondary-color: #FF5722;
    --morning: #d97706;
    --afternoon: #e85d26;
    --evening: #7c3aed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.navbar-brand img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 8px;
    white-space: nowrap; /* keeps "About Us" etc. on one line instead of breaking into two */
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-login {
    white-space: nowrap;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
}

/* on normal laptop screens (992-1399px, e.g. 1366px) the big logo + 7 links + login button don't fit in one line,
   so the logo gets a little smaller and the links sit closer together */
@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-brand img {
        height: 64px;
    }

    .nav-link {
        margin: 0 2px;
        font-size: 0.95rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .btn-login {
        padding: 7px 18px;
    }
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    border-radius: 0;
    background: #1a2f80;
}

@media (min-width: 992px) {
    .hero-slider {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 260px;
    }
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 1.1s cubic-bezier(0.45, 0, 0.55, 1);
}

.hero-slide.is-current {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide.is-image .slide-bg-blur {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(22px) brightness(0.45) saturate(1.5);
    transform: scale(1.08);
    z-index: 0;
}

.hero-slide.is-image .slide-bg-blur::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 72, 192, 0.35) 0%, rgba(255, 87, 34, 0.25) 100%);
}

.hero-slide.is-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transform: scale(1.06);
    transition: transform 7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.is-image.is-current img {
    transform: scale(1);
}

.hero-slide.is-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 72, 192, 0.18) 0%, rgba(255, 87, 34, 0.12) 100%);
    pointer-events: none;
    z-index: 2;
}

.slide-caption {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 5;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.hero-slide.is-stats {
    background: linear-gradient(135deg, #1a2f80, #c0391b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px;
    justify-content: center;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item .si-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.stat-item .si-val {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-item .si-lbl {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-arrow.hidden {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 26px;
    border-radius: 5px;
}

.hero-content-bar {
    background: transparent;
    padding: 40px 0 50px;
    text-align: center;
    position: relative;
}

.hero-content-bar h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem); /* was up to 3.2rem, fits on one line on laptop screens now */
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.9s;
}

.hero-content-bar h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #ffd34d;
    margin-bottom: 14px;
    animation: fadeInUp 0.9s 0.15s backwards;
}

.hero-content-bar p {
    font-size: 1rem;
    color: #fff;
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
    animation: fadeInUp 0.9s 0.25s backwards;
}

.hero-content-bar .hero-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s 0.35s backwards;
}

.btn-explore {
    padding: 14px 38px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
    background: var(--secondary-color);
    border: none;
    color: white;
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: #E64A19;
}

/* popular courses */
.course-icon {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffc107;
    padding: 24px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.course-icon .icon-symbol {
    font-size: 2.8rem;
    line-height: 1;
}

.course-icon .icon-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--bs-highlight-bg);
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.courses-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #012151 0%, #eef1fa 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem); /* same size for every homepage section heading */
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-title p {
    color: #000;
    font-size: 1.1rem;
}

.info-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eef2ff;
}

.info-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffc107;
    font-size: 1rem;
}

.info-note-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #f8fafc;
}

.info-note-text strong {
    color: #ffffff;
}

.info-note-text span {
    margin-left: 6px;
}

.text-link-soft {
    color: #ffc107;
    text-decoration: underline;
    text-decoration-color: rgba(255, 193, 7, 0.35);
}

.text-link-soft:hover {
    color: #ffffff;
}

.btn-inline-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.35);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-inline-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.reviews-section .section-title h2 {
    color: #ffffff;
}

.reviews-section .section-title p {
    color: #ffc107;
}

.footer-text {
    color: #bbb;
}

.uc-footer-link {
    position: relative;
    z-index: 2;
}

.slot-rem {
    font-size: 0.75rem;
    margin-top: 3px;
    font-weight: 600;
}

.rem-full {
    color: #dc3545;
}

.rem-warn {
    color: #e07000;
}

.rem-ok {
    color: #28a745;
}

.sched-icon {
    color: #2148C0;
    font-size: 12px;
}

.online-live-badge i {
    font-size: 11px;
}

.courses-section .section-title h2 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.courses-section .section-title p {
    color: #fff;
    opacity: 0.95;
}

.course-card {
    background: white;
    border: 2px solid #ffc107;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #ffb300;
}

.course-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-body h4 {
    display: none;
}

.course-body>p {
    color: #000;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

/* homepage teaser: description is capped at 3 lines so all three cards line up */
.course-body>p.course-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 2);
}

/* starting price line on the homepage's Popular Courses teaser cards */
.course-preview-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: auto 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}
.course-preview-price i {
    color: var(--secondary-color);
}

.online-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 7px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #1e40af;
    font-weight: 600;
}

.online-live-badge i {
    font-size: 11px;
    line-height: 1;
}

.online-live-badge .live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.period-morning {
    color: #d97706;
}

.period-afternoon {
    color: #e85d26;
}

.period-evening {
    color: #7c3aed;
}

.sched-strip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 13px;
    margin-bottom: 12px;
}

.sched-strip-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.sched-day {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 6px;
    background: #eff6ff;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
}

.sched-tbd {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
}

.sched-levels {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sched-lvl {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 7px;
    border: 1px solid;
}

.sched-lvl-top {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sched-lvl-m {
    background: #fffbeb;
    border-color: #fde68a;
}

.sched-lvl-a {
    background: #fff7f4;
    border-color: #fed7c3;
}

.sched-lvl-e {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.sched-lvl-name {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    width: 62px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.sched-lvl-time {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    width: 56px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.sched-lvl-dates {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.3;
    padding-left: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sched-lvl-dates i {
    font-size: 9px;
    flex-shrink: 0;
}

.sched-lvl-dur {
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 5px;
    background: #eff6ff;
    color: var(--primary-color);
    flex-shrink: 0;
    box-sizing: border-box;
    width: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    margin-left: auto;
}

.ss-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3px 6px;
    line-height: 1;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 60px;
    white-space: nowrap;
}

.ss-on {
    background: #dcfce7;
    color: #15803d;
}

.ss-up {
    background: #fef9c3;
    color: #854d0e;
}

.ss-end {
    background: #f3f4f6;
    color: #6b7280;
}

.ss-none {
    background: #f3f4f6;
    color: #9ca3af;
}

.level-selector {
    margin-bottom: 16px;
}

.level-selector label {
    font-weight: 700;
    color: #333;
    font-size: 0.82rem;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-tabs {
    display: flex;
    gap: 6px;
}

.level-tab {
    flex: 1;
    padding: 14px 5px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    background: #f8f9fa;
    text-align: center;
    transition: all 0.22s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-tab:hover {
    border-color: var(--primary-color);
    background: #eef1fb;
}

.level-name {
    font-weight: 700;
    font-size: 0.85rem;
}

.level-tab.sel-basic {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.level-tab.sel-intermediate {
    border-color: #fd7e14;
    background: #fd7e14;
    color: white;
}

.level-tab.sel-advanced {
    border-color: #dc3545;
    background: #dc3545;
    color: white;
}

.level-tab.level-full {
    opacity: 0.55;
    cursor: not-allowed;
}

.level-tab.level-full::after {
    content: 'FULL';
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
}

.slot-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    margin-top: 3px;
}

.slot-ok {
    background: #d4edda;
    color: #155724;
}

.slot-half {
    background: #fff3cd;
    color: #856404;
}

.slot-warn {
    background: #ffe5d0;
    color: #7d3a00;
}

.slot-full {
    background: #f8d7da;
    color: #721c24;
}

.selected-level-info {
    background: #f0f4ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    color: #555;
}

.info-value {
    font-weight: 700;
    color: var(--primary-color);
}

.slot-bar-wrap {
    margin-top: 8px;
}

.slot-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 4px;
}

.slot-bar {
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
    overflow: hidden;
}

.slot-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s;
}

.bar-ok {
    background: #28a745;
}

.bar-half {
    background: #fd7e14;
}

.bar-warn {
    background: #e07000;
}

.bar-full {
    background: #dc3545;
}

.course-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-course {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    flex: 1;
    text-align: center;
}

.btn-course:hover {
    background: #E64A19;
    color: white;
    transform: translateY(-2px);
}

.btn-course.btn-disabled {
    background: #aaa;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-details:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-view-all {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(33, 72, 192, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 72, 192, 0.5);
    color: white;
}

/* shared level detail modal */
.lvl-modal-header-basic,
.lvl-modal-header-intermediate,
.lvl-modal-header-advanced {
    color: white;
}

.lvl-modal-header-basic {
    background: linear-gradient(135deg, #1a7a35, #28a745);
}

.lvl-modal-header-intermediate {
    background: linear-gradient(135deg, #b85c00, #fd7e14);
}

.lvl-modal-header-advanced {
    background: linear-gradient(135deg, #9b1c2e, #dc3545);
}

.lvl-detail-box {
    background: #f8faff;
    border: 1px solid #dbe4ff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
    font-size: 0.93rem;
    line-height: 1.7;
    color: #334155;
}

.lvl-outline-section {
    margin-bottom: 20px;
}

.lvl-outline-section h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.outline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.outline-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.83rem;
    color: #374151;
}

.outline-item i {
    margin-top: 2px;
    flex-shrink: 0;
}

.outline-num {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
}

.outline-empty {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.85rem;
    padding: 10px 0;
}

.lvl-sched-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.lvl-sched-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.lvl-sched-row:last-child {
    margin-bottom: 0;
}

.lvl-sched-label {
    color: #64748b;
    width: 70px;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.lvl-sched-val {
    font-weight: 700;
    color: #1e293b;
}

.lvl-slot-bar-wrap {
    margin-top: 14px;
}

.lvl-slot-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 5px;
}

.lvl-slot-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.lvl-slot-bar-fill {
    height: 100%;
    border-radius: 4px;
}

/* features */
.features-section {
    padding: 80px 0;
    background: #bfd1ea;
    position: relative;
}

.feature-box {
    text-align: center;
    padding: 34px 28px 28px;
    background: #fff;
    border: 2px solid #ffc107;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(33, 72, 192, 0.12);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(33, 72, 192, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(33, 72, 192, 0.25);
}

.feature-box h5 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.feature-box p {
    text-align: justify;
}

/* on phones, 4 full-width cards stacked on top of each other look way too tall and push everything else down */
@media (max-width: 767px) {
    .features-section {
        padding: 50px 0;
    }

    .feature-box {
        padding: 20px 12px 16px;
        border-radius: 14px;
    }

    .feature-icon {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .feature-box h5 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .feature-box p {
        font-size: 0.78rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
}

/* reviews */
.reviews-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.reviews-section .row {
    align-items: stretch;
}

.review-card {
    background: white;
    border: 2px solid #ffc107;
    border-radius: 18px;
    padding: 34px 28px 28px;
    margin: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: #ffb300;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 22px;
    font-size: 3.2rem;
    font-family: Georgia, serif;
    color: #1a1a1a;
    line-height: 1;
}

.review-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 6px 18px rgba(33, 72, 192, 0.3);
}

.review-text {
    font-style: italic;
    margin-bottom: 22px;
    font-size: 1.05rem;
    color: #000;
    line-height: 1.6;
    text-align: justify;
}

.review-author {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.review-role {
    font-size: 0.9rem;
    color: #000;
}

/* footer */
.footer {
    background: linear-gradient(180deg, var(--bs-emphasis-color) 0%, #2c3e50 100%);
    color: white;
    padding: 40px 0 20px;
    border-top: 3px solid var(--secondary-color);
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    cursor: pointer;
}

.footer a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s;
    margin-right: 0;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* upcoming section */
.upcoming-section {
    padding: 90px 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(33, 72, 192, 0.18) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.upcoming-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
}

.upcoming-title-wrap {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
    z-index: 2;
}

.upcoming-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(33, 72, 192, 0.25);
    border: 1px solid rgba(99, 132, 255, 0.4);
    color: #b4d7f4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.upcoming-eyebrow .pulse-dot {
    width: 7px;
    height: 7px;
    background: #00ee40;
    border-radius: 50%;
    animation: pulseDot 1.4s ease-in-out infinite;
}

.upcoming-title-wrap h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem); /* matches .section-title h2 */
    font-weight: 800;
    color: #fffffe;
    margin-bottom: 14px;
    line-height: 1.2;
}

.upcoming-title-wrap p {
    color: #ffc107;
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

/* upcoming card grid */
.uc-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -13px;
}

.uc-col {
    padding: 0 13px;
    width: 33.333%;
    margin-bottom: 26px;
}

@media (max-width: 991px) {
    .uc-col {
        width: 50%;
    }
}

@media (max-width: 639px) {
    .uc-col {
        width: 100%;
    }
}

.uc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid #ffc107;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.uc-card:hover {
    transform: translateY(-8px);
    border-color: #ffb300;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 193, 7, 0.25);
    background: rgba(255, 255, 255, 0.07);
}

.uc-card-topbar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #f97316);
    flex-shrink: 0;
}

.uc-card-body {
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.uc-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.uc-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffc107;
    box-shadow: 0 6px 18px rgba(33, 72, 192, 0.35);
}

.uc-title-wrap {
    flex: 1;
}

.uc-title-wrap h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--bs-highlight-bg);
    margin: 0 0 4px;
    line-height: 1.3;
}

.uc-title-wrap .uc-teacher {
    font-size: 11.5px;
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
}

.uc-batch-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: greenyellow;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 6px;
}

.uc-countdown {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.uc-cd-box {
    flex: 1;
    min-width: 48px;
    background: rgba(33, 72, 192, 0.2);
    border: 1px solid rgba(99, 132, 255, 0.2);
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
}

.uc-cd-box .cd-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
    font-variant-numeric: tabular-nums;
}

.uc-cd-box .cd-lbl {
    font-size: 9px;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
    display: block;
}

.uc-cd-sep {
    font-size: 1.2rem;
    font-weight: 800;
    color: #475569;
    align-self: flex-start;
    padding-top: 6px;
}

.uc-dates {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.uc-date-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11px;
    color: #ffc107;
    flex: 1;
}

.uc-date-pill i {
    color: #60a5fa;
    font-size: 10px;
}

.uc-date-pill strong {
    color: #ffffff;
    font-weight: 700;
}

.uc-enroll-note {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    margin-bottom: 14px;
}

.uc-enroll-note strong {
    font-weight: 700;
}

.uc-enroll-note.uc-enroll-opens {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.uc-enroll-note.uc-enroll-opens i {
    color: #f59e0b;
}

.uc-enroll-note.uc-enroll-closes {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.uc-enroll-note.uc-enroll-closes i {
    color: #22c55e;
}

.uc-sched-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    padding: 4px 9px;
    font-size: 11px;
    color: #ffc107;
    margin-bottom: 14px;
}

.uc-sched-badge i {
    color: #f59e0b;
}

.uc-level-selector {
    margin-bottom: 14px;
}

.uc-level-selector label {
    font-size: 10px;
    font-weight: 800;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.uc-level-tabs {
    display: flex;
    gap: 6px;
}

.uc-level-tab {
    flex: 1;
    padding: 8px 5px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: all 0.22s;
    position: relative;
}

.uc-level-tab:hover {
    border-color: rgba(99, 132, 255, 0.5);
    background: rgba(99, 132, 255, 0.1);
}

.uc-level-tab .uc-lvl-name {
    font-size: 10px;
    font-weight: 800;
    display: block;
    color: #ffffff;
}

.uc-level-tab .uc-lvl-price {
    font-size: 9.5px;
    color: #ffc107;
    display: block;
    margin-top: 2px;
}

.uc-level-tab .uc-lvl-dur {
    font-size: 9px;
    color: #ffc107;
    display: block;
    margin-top: 1px;
}

.uc-level-tab.uc-sel-basic {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.18);
}

.uc-level-tab.uc-sel-basic .uc-lvl-name {
    color: #4ade80;
}

.uc-level-tab.uc-sel-basic .uc-lvl-price {
    color: rgba(40, 167, 69, 0.85);
}

.uc-level-tab.uc-sel-intermediate {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}

.uc-level-tab.uc-sel-intermediate .uc-lvl-name {
    color: #fb923c;
}

.uc-level-tab.uc-sel-intermediate .uc-lvl-price {
    color: rgba(251, 146, 60, 0.8);
}

.uc-level-tab.uc-sel-advanced {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.uc-level-tab.uc-sel-advanced .uc-lvl-name {
    color: #f87171;
}

.uc-level-tab.uc-sel-advanced .uc-lvl-price {
    color: rgba(248, 113, 113, 0.8);
}

.uc-level-tab.uc-level-full {
    opacity: 0.5;
    cursor: not-allowed;
}

.uc-level-tab.uc-level-full::after {
    content: 'FULL';
    position: absolute;
    top: 3px;
    right: 3px;
    background: #ef4444;
    color: white;
    font-size: 7px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
}

.uc-level-tab.uc-level-soon {
    opacity: 1;
    cursor: not-allowed;
    border-color: rgba(99, 132, 255, 0.35) !important;
    background: rgba(99, 132, 255, 0.08) !important;
}

.uc-level-tab.uc-level-soon .uc-lvl-name {
    color: #93c5fd !important;
}

.uc-level-tab.uc-level-soon .uc-lvl-price,
.uc-level-tab.uc-level-soon .uc-lvl-dur {
    color: rgba(147, 197, 253, 0.6) !important;
}

.uc-level-tab.uc-level-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 3px;
    right: 3px;
    background: rgba(99, 132, 255, 0.7);
    color: white;
    font-size: 6.5px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 4px;
    white-space: nowrap;
}

.uc-seat-bar {
    margin-bottom: 18px;
}

.uc-seat-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #ffc107;
    margin-bottom: 5px;
}

.uc-seat-bar-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.uc-seat-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s;
}

.uc-seat-label-full {
    color: #ef4444;
    font-weight: 700;
}

.uc-seat-label-warn {
    color: #f97316;
    font-weight: 700;
}

.uc-seat-label-ok {
    color: #22c55e;
    font-weight: 700;
}

.uc-seat-fill-full {
    background: #ef4444;
}

.uc-seat-fill-warn {
    background: #f97316;
}

.uc-seat-fill-ok {
    background: #22c55e;
}

.elevated-container {
    position: relative;
    z-index: 2;
}

.modal-meta-small {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 2px;
    display: block;
}

.modal-meta-sub {
    font-size: 0.85rem;
    opacity: 0.9;
}

.modal-price-tag {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 5px;
}

.slot-status {
    font-weight: 700;
}

.slot-status-full {
    color: #dc3545;
}

.slot-status-warn {
    color: #e07000;
}

.slot-status-ok {
    color: #28a745;
}

.modal-batch-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
}

.modal-section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.status-text {
    font-weight: 700;
}

.mode-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 5px;
}

.uc-actions-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.uc-enroll-btn {
    background: var(--secondary-color);
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.uc-enroll-btn:hover {
    background: #E64A19;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.uc-enroll-btn.uc-btn-disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    pointer-events: none;
}

.uc-details-btn {
    padding: 12px 16px;
    border-radius: 12px;
    background: transparent;
    color: #ffc107;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 193, 7, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
}

.uc-details-btn:hover {
    border-color: #ffc107;
    color: #ffffff;
    background: rgba(255, 193, 7, 0.15);
}

.uc-empty {
    text-align: center;
    padding: 60px 20px;
    color: #e2e8f0;
    position: relative;
    z-index: 2;
}

.uc-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: #ffc107;
}

.uc-empty p {
    font-size: 1rem;
    color: #ffc107;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* instructors section + "Teach with Learnix" CTA */
.instructors-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #eef1fa 0%, #dfe7f6 100%);
}

.instructor-card {
    width: 100%;
    text-align: center;
    padding: 28px 20px 22px;
    background: #fff;
    border: 2px solid #ffc107;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(33, 72, 192, 0.12);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(33, 72, 192, 0.2);
    border-color: var(--primary-color);
}

.instructor-avatar {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 16px;
    flex-shrink: 0;
}

.instructor-avatar img,
.instructor-avatar > span:first-child {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1fa;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.instructor-verified {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.instructor-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.instructor-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 12px;
}

.instructor-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.instructor-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.skill-chip {
    font-size: 0.74rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(33, 72, 192, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(33, 72, 192, 0.18);
}

.instructor-courses {
    margin-top: auto;
    width: 100%;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.82rem;
    color: #444;
}

.instructor-courses i {
    color: var(--primary-color);
    margin-right: 4px;
}

.instructors-empty {
    text-align: center;
    color: #64748b;
    padding: 20px 0 10px;
}

.instructors-empty i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 10px;
}

.teach-cta {
    margin-top: 60px;
    padding: 40px;
    border-radius: 22px;
    background: linear-gradient(135deg, #012151, var(--primary-color));
    color: #fff;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 20px 45px rgba(1, 33, 81, 0.3);
    border: 2px solid #ffc107;
}

.teach-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffc107;
    margin-bottom: 10px;
}

.teach-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.teach-cta p {
    color: #dbe4ff;
    line-height: 1.7;
    margin-bottom: 22px;
}

.btn-teach {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.35);
}

.btn-teach:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 87, 34, 0.45);
}

.teach-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.teach-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.teach-steps .step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffc107;
    color: #012151;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teach-steps strong {
    display: block;
    font-size: 0.95rem;
}

.teach-steps small {
    color: #c7d2fe;
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .teach-cta {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
}

@media (max-width: 767px) {
    .instructors-section {
        padding: 50px 0;
    }

    .instructor-card {
        padding: 18px 10px 14px;
        border-radius: 14px;
    }

    .instructor-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .instructor-avatar img,
    .instructor-avatar > span:first-child {
        font-size: 1.3rem;
    }

    .instructor-card h5 {
        font-size: 0.9rem;
    }

    .instructor-meta,
    .instructor-courses {
        font-size: 0.72rem;
    }

    .skill-chip {
        font-size: 0.66rem;
        padding: 3px 8px;
    }

    .teach-cta {
        margin-top: 40px;
    }

    .teach-cta h3 {
        font-size: 1.5rem;
    }
}


/* "View All Instructors" button under the homepage instructor row */
.btn-view-instructors {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-view-instructors:hover {
    background: var(--primary-color);
    color: #fff;
}

/* "View All Courses" button under the Popular Courses cards (light background at the bottom of the section) */
.btn-view-all-courses {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 999px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 6px 18px rgba(33, 72, 192, 0.15);
    transition: all 0.25s;
}

.btn-view-all-courses:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: #fff;
}

.btn-view-all-courses i {
    transition: transform 0.25s;
}

.btn-view-all-courses:hover i {
    transform: translateX(4px);
}

/* "Live Online Classes" pill under the course title in each card header */
.card-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: #012151; /* same dark navy as the courses section background */
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(1, 33, 81, 0.35);
}

.card-live-badge .live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .card-live-badge .live-dot { animation: none; }
}

/* modal "Close" button: white with a blue border, same look as the Previous / Next buttons */
.btn-lx-close,
.btn.btn-lx-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #fff;
    color: #2148C0;
    border: 2px solid #2148C0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    transition: background .2s;
}
.btn-lx-close:hover,
.btn.btn-lx-close:hover,
.btn.btn-lx-close:focus,
.btn.btn-lx-close:active {
    background: #eff6ff;
    color: #2148C0;
    border-color: #2148C0;
}

/* ===== Upcoming section: light theme (light background, white cards, dark text) ===== */
.upcoming-section { background: linear-gradient(160deg, #eef4ff 0%, #ffffff 50%, #fff4ec 100%); }
.upcoming-section::before { background: radial-gradient(circle, rgba(33, 72, 192, 0.10) 0%, transparent 70%); }
.upcoming-section::after  { background: radial-gradient(circle, rgba(255, 87, 34, 0.10) 0%, transparent 70%); }
.upcoming-eyebrow { background: #e0e9ff; border-color: #bfd0ff; color: #2148C0; }
.upcoming-title-wrap h2 { color: #1e293b; }
.upcoming-title-wrap p { color: #475569; }
.uc-card { background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.uc-card:hover { background: #fff; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14); }
.uc-title-wrap h4 { color: #1e293b !important; }
.uc-title-wrap .uc-teacher { color: #64748b !important; }
.uc-batch-tag { background: #fff7e0; border-color: #fde68a; color: #92400e; }
.uc-cd-box { background: #eef4ff; border-color: #c7d7fe; }
.uc-cd-box .cd-num { color: #1e3a8a; }
.uc-cd-box .cd-lbl { color: #2148C0; }
.uc-cd-sep { color: #94a3b8; }
.uc-date-pill { background: #f8fafc; border-color: #e2e8f0; color: #475569; }
.uc-date-pill strong { color: #1e293b; }
.uc-enroll-note.uc-enroll-closes { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.uc-level-selector label, .uc-level-selector > span, .uc-level-selector .uc-lbl { color: #2148C0 !important; }
.uc-level-tab { background: #f8fafc; border-color: #e2e8f0; }
.uc-level-tab .uc-lvl-name { color: #1e293b; }
.uc-level-tab .uc-lvl-price { color: #2148C0; }
.uc-level-tab .uc-lvl-dur { color: #64748b; }
.uc-seat-bar-label { color: #475569; }
.uc-seat-bar-track { background: #e2e8f0; }
.uc-details-btn { background: #fff; color: #2148C0; border: 2px solid #2148C0; }
.uc-details-btn:hover { background: #eff6ff; color: #2148C0; }
/* same look + hover as the "View All Courses" button under Popular Courses (.btn-view-all-courses) */
.upcoming-section .btn-inline-link {
    padding: 13px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    background: #fff;
    box-shadow: 0 6px 18px rgba(33, 72, 192, 0.15);
}
.upcoming-section .btn-inline-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: #fff;
}
.upcoming-section .btn-inline-link i { transition: transform 0.25s; }
.upcoming-section .btn-inline-link:hover i.fa-arrow-right { transform: translateX(4px); }
.uc-level-tab.uc-sel-basic { background: #e9f7ec; border-color: #28a745; }
.uc-level-tab.uc-sel-basic .uc-lvl-name,
.uc-level-tab.uc-sel-basic .uc-lvl-price { color: #1e7e34; }

/* Upcoming: same navy -> light gradient as the Popular Courses section */
.upcoming-section { background: linear-gradient(180deg, #012151 0%, #eef1fa 100%); }
.upcoming-section::before { background: radial-gradient(circle, rgba(33, 72, 192, 0.25) 0%, transparent 70%); }
.upcoming-section::after  { background: radial-gradient(circle, rgba(255, 87, 34, 0.10) 0%, transparent 70%); }
.upcoming-eyebrow { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.35); color: #e0e9ff; }
.upcoming-title-wrap h2 { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.upcoming-title-wrap p { color: #fff; opacity: .95; }

/* ===== Upcoming cards: same design as the course / batch cards (gradient header + white body) ===== */
.uc-card { background: #fff; border: 2px solid #ffc107; border-radius: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); backdrop-filter: none; }
.uc-card:hover { background: #fff; border-color: #ffc107; transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.uc-hero {
    background: linear-gradient(135deg, var(--primary-color, #2148C0), var(--secondary-color, #FF5722));
    color: #ffc107;
    padding: 28px 20px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 132px;
    justify-content: center;
}
.uc-hero-icon { font-size: 2.8rem; line-height: 1; }
.uc-hero-title { font-size: 1.05rem; font-weight: 800; color: #fffbe6; line-height: 1.3; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.uc-ribbon {
    position: absolute; top: 15px; left: 15px;
    padding: 5px 14px; border-radius: 20px;
    font-size: .7rem; font-weight: 800; letter-spacing: .3px; text-transform: uppercase;
    background: #fef9c3; color: #854d0e;
}
.uc-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.uc-meta-row .uc-teacher { font-size: 12.5px; color: #1e293b !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.uc-meta-row .uc-teacher i { color: #2148C0; }
.uc-meta-row .uc-batch-tag { margin-top: 0; background: #eef2ff; border: 1px solid #c7d2fe; color: #2148C0; }
/* ===== Upcoming Batches: "Select Level" label + level boxes same size and style as the All Courses page ===== */
.uc-level-selector { margin-bottom: 12px; }
.uc-level-selector label {
    font-size: .82rem;
    font-weight: 700;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
    margin-bottom: 8px;
}
.uc-level-tabs { display: flex; gap: 6px; }
.uc-level-tab {
    flex: 1;
    padding: 14px 5px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #f8f9fa;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .22s;
}
.uc-level-tab:hover { border-color: var(--primary-color, #2148C0); background: #eef1fb; }
.uc-level-tab .uc-lvl-name  { font-size: .85rem; font-weight: 700; color: #1e293b; }
.uc-level-tab .uc-lvl-price { font-size: .75rem; font-weight: 600; color: #2148C0; margin-top: 3px; }
.uc-level-tab .uc-lvl-dur   { font-size: .7rem; color: #64748b; margin-top: 1px; }

/* selected level: solid colour with white text, like All Courses */
.uc-level-tab.uc-sel-basic        { border-color: #28a745; background: #28a745; }
.uc-level-tab.uc-sel-intermediate { border-color: #fd7e14; background: #fd7e14; }
.uc-level-tab.uc-sel-advanced     { border-color: #dc3545; background: #dc3545; }
.uc-level-tab.uc-sel-basic .uc-lvl-name, .uc-level-tab.uc-sel-basic .uc-lvl-price, .uc-level-tab.uc-sel-basic .uc-lvl-dur,
.uc-level-tab.uc-sel-intermediate .uc-lvl-name, .uc-level-tab.uc-sel-intermediate .uc-lvl-price, .uc-level-tab.uc-sel-intermediate .uc-lvl-dur,
.uc-level-tab.uc-sel-advanced .uc-lvl-name, .uc-level-tab.uc-sel-advanced .uc-lvl-price, .uc-level-tab.uc-sel-advanced .uc-lvl-dur { color: #fff; }

.uc-level-tab.uc-level-full::after { top: -9px; right: 50%; transform: translateX(50%); font-size: .6rem; font-weight: 700; padding: 1px 6px; background: #dc3545; }
.uc-level-tab.uc-level-soon { border-color: #cbd5e1 !important; background: #f1f5f9 !important; }
.uc-level-tab.uc-level-soon .uc-lvl-name { color: #64748b !important; }
.uc-level-tab.uc-level-soon .uc-lvl-price,
.uc-level-tab.uc-level-soon .uc-lvl-dur { color: #94a3b8 !important; }
/* badges sit on the top border so they don't cover the level name */
.uc-level-tab.uc-level-soon::after { font-size: .58rem; top: -9px; right: 50%; transform: translateX(50%); padding: 1px 6px; background: #2148C0; }
.uc-level-tabs { padding-top: 6px; }

/* "Enrollments Open" pill: solid white with blue text */
.upcoming-eyebrow { background: #fff; border-color: #fff; color: #2148C0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

/* no upcoming batches message: blue so it shows on the light part of the background */
.uc-empty i { color: #2148C0; }
.uc-empty p { color: #2148C0; font-weight: 600; }
.uc-empty p a, .uc-empty p a.text-link-soft { color: #2148C0; font-weight: 800; text-decoration: underline; }
.uc-empty p a:hover { color: #1a3a9e; }

/* Outline popup: the Enroll button follows the level colour (same colours as the popup header and level tabs) */
.btn.btn-modal-enroll { color: #fff; font-weight: 600; transition: background .25s, border-color .25s; }
.btn.btn-modal-enroll.lx-enroll-basic        { background: #28a745; border-color: #28a745; }
.btn.btn-modal-enroll.lx-enroll-intermediate { background: #fd7e14; border-color: #fd7e14; }
.btn.btn-modal-enroll.lx-enroll-advanced     { background: #dc3545; border-color: #dc3545; }
.btn.btn-modal-enroll.lx-enroll-basic:hover,        .btn.btn-modal-enroll.lx-enroll-basic:focus        { background: #1e7e34; border-color: #1e7e34; color: #fff; }
.btn.btn-modal-enroll.lx-enroll-intermediate:hover, .btn.btn-modal-enroll.lx-enroll-intermediate:focus { background: #d96a00; border-color: #d96a00; color: #fff; }
.btn.btn-modal-enroll.lx-enroll-advanced:hover,     .btn.btn-modal-enroll.lx-enroll-advanced:focus     { background: #b02a37; border-color: #b02a37; color: #fff; }

/* white buttons with a coloured border fill with that colour on hover / click (site-wide rule) */
.btn-lx-close:hover,
.btn-lx-close:active,
.btn.btn-lx-close:hover,
.btn.btn-lx-close:active {
    background: #2148C0;
    border-color: #2148C0;
    color: #fff;
}

.btn-lx-close:hover i,
.btn-lx-close:active i,
.btn.btn-lx-close:hover i,
.btn.btn-lx-close:active i {
    color: inherit;
}

.uc-details-btn:hover,
.uc-details-btn:active {
    background: #2148C0;
    border-color: #2148C0;
    color: #fff;
}

.uc-details-btn:hover i,
.uc-details-btn:active i {
    color: inherit;
}

/* "Our Courses" strip under the hero: small course tiles */
.our-courses-section {
    padding: 64px 0 56px;
    /* same light blue wash as the "Teach With Us" section */
    background: linear-gradient(180deg, #eef1fa 0%, #dfe7f6 100%);
    position: relative;
    overflow: hidden;
}

/* soft colour glows in the corners, like the other homepage sections */
.our-courses-section::before,
.our-courses-section::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    pointer-events: none;
}

.our-courses-section::before {
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(33, 72, 192, 0.14) 0%, transparent 70%);
}

.our-courses-section::after {
    bottom: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
}

.our-courses-section .container {
    position: relative;
    z-index: 1;
}

.our-courses-section .section-title {
    margin-bottom: 34px;
}

.oc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.oc-tile {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 34px 14px 14px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}

/* icon box: same blue -> orange gradient and yellow icon as the course cards on All Courses */
.oc-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffc107;
    transition: transform .3s;
}

/* little arrow that slides in on the right when the tile is hovered */
.oc-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    font-size: 12px;
    opacity: 0;
    transform: translate(-8px, -50%);
    transition: opacity .25s, transform .25s;
}

/* light sweep across the tile on hover */
.oc-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

/* white tile with a blue border fills blue on hover / click (site-wide rule) */
.oc-tile:hover,
.oc-tile:active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(33, 72, 192, .28);
}

.oc-tile:hover::after {
    left: 130%;
    transition: left .6s ease;
}

.oc-tile:hover .oc-icon,
.oc-tile:active .oc-icon {
    transform: scale(1.1) rotate(-6deg);
}

.oc-tile:hover .oc-arrow,
.oc-tile:active .oc-arrow {
    opacity: 1;
    transform: translate(0, -50%);
}

/* entrance: tiles rise in one after another when the strip scrolls into view (classes are added by home.js) */
.oc-grid.oc-anim .oc-tile {
    opacity: 0;
    transform: translateY(26px);
}

.oc-grid.oc-anim.oc-in .oc-tile {
    animation: ocRise .55s cubic-bezier(.2, .7, .3, 1) both;
    animation-delay: calc(var(--oc-i, 0) * 80ms);
}

@keyframes ocRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* after the entrance the tiles keep moving: each one floats gently up and down, one after another like a wave,
   and its icon gives a small hop. "translate" is animated (not "transform") so the hover lift still works on top. */
.oc-grid.oc-done .oc-tile {
    animation: ocFloat 3.2s ease-in-out infinite;
    animation-delay: calc(var(--oc-i, 0) * 0.28s);
}

.oc-grid.oc-done .oc-icon {
    animation: ocHop 3.2s ease-in-out infinite;
    animation-delay: calc(var(--oc-i, 0) * 0.28s);
}

@keyframes ocFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -7px; }
}

@keyframes ocHop {
    0%, 40%, 100% { translate: 0 0; rotate: 0deg; }
    50%           { translate: 0 -5px; rotate: -8deg; }
    60%           { translate: 0 0; rotate: 0deg; }
    68%           { translate: 0 -2px; rotate: 4deg; }
    76%           { translate: 0 0; rotate: 0deg; }
}

/* the tile under the mouse holds still so it is easy to click */
.oc-grid.oc-done .oc-tile:hover,
.oc-grid.oc-done .oc-tile:hover .oc-icon {
    animation-play-state: paused;
}

.oc-more {
    margin-top: 26px;
}

.oc-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.oc-view-all:hover,
.oc-view-all:active {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 575px) {
    .oc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .oc-tile {
        padding: 10px;
        font-size: 13px;
    }

    .oc-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .oc-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oc-grid.oc-anim .oc-tile,
    .oc-grid.oc-done .oc-tile,
    .oc-grid.oc-done .oc-icon {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* short text in narrow boxes is centred / left-aligned, not justified: justify stretched the gaps between
   words ("Learn    from    industry") because each line only holds three or four words */
.feature-box p {
    /* centred under the centred icon and heading; "balance" makes the lines almost the same length,
       so they do not start at very different places and no gaps are stretched between words */
    text-align: center;
    text-wrap: balance;
    max-width: 210px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.review-text {
    text-align: left;
}