/* Course cards CSS (only) */


/* Card container */
.course-item {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #edf0f4;
    box-shadow: 0 6px 18px rgba(35, 45, 55, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    flex: 1 1 auto;
}

/* Thumbnail (actual <img>) - only this triggers zoom & overlay */
.course-item__thumb {
    display: block;
    min-height: 215px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: #f6f8fb;
    text-decoration: none;
}

.course-item__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
    transform: scale(1);
    will-change: transform;
}

/* zoom on thumb hover/focus only */
.course-item__thumb:hover .course-item__thumb-img,
.course-item__thumb:focus .course-item__thumb-img,
.course-item__thumb:focus-visible .course-item__thumb-img {
    transform: scale(1.08);
}

/* overlay + "Read more" */
.course-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms;
    pointer-events: none;
    z-index: 2;
}

.course-item__thumb:hover .course-item__overlay,
.course-item__thumb:focus .course-item__overlay,
.course-item__thumb:focus-visible .course-item__overlay {
    opacity: 1;
    visibility: visible;
}

.course-item__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    z-index: 1;
}

.course-item__readmore {
    position: relative;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    pointer-events: auto;
    transform: translateY(-18px);
    text-decoration: none;
}

/* Mentor avatar (overlaps thumb) */
.course-item__mentor {
    display: inline-block;
    text-decoration: none;
    z-index: 4;
}

.course-item__avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 18px rgba(20, 30, 50, 0.08);
    display: block;
    margin: -38px auto 10px;
    /* overlap by half the avatar height */
    object-fit: cover;
    background: #fff;
    position: relative;
    transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.course-item__mentor:hover .course-item__avatar,
.course-item__mentor:focus .course-item__avatar,
.course-item__mentor:focus-visible .course-item__avatar {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
    border-color: #ffc107;
    transform: translateY(-2px);
}

/* Content area */
.course-item__content {
    padding: 2ch 10px 12px 10px;
    /* top padding accounts for avatar overlap */
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-item__author {
    margin-bottom: 6px;
    color: #7b8593;
    font-size: 14px;
}

.course-item__mentor-link {
    color: #7b8593;
    text-decoration: none;
    font-size: 14px;
}

.course-item__mentor-link:hover,
.course-item__mentor-link:focus {
    text-decoration: underline;
    color: #374151;
}

.course-item__title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
    text-align: center;
    line-height: 1.25;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-item__link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

/* Divider decorative */
.course-item__divider {
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.course-item__divider-line {
    width: 70px;
    height: 4px;
    background: #f2f4f7;
    border-radius: 3px;
    position: relative;
}

.course-item__divider-line::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 4px;
    background: #ffc107;
    border-radius: 3px;
    top: 0;
}

/* Footer meta */
.course-item__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #f1f4f8;
    font-size: 13px;
    color: #6b7280;
}

.course-item__meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-item__meta i {
    color: #9aa4b2;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.course-item__price {
    color: #16a34a;
    font-weight: 600;
    font-size: 14px;
}

/* Accessibility: keyboard focus outlines */
.course-item__thumb:focus-visible,
.course-item__link:focus-visible,
.course-item__mentor-link:focus-visible,
.course-item__mentor:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.12);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Responsive tweaks (mobile) */
@media (max-width: 700px) {
    .course-item__avatar {
        width: 68px;
        height: 68px;
        margin: -34px auto 10px;
    }

    .course-item__thumb {
        height: 120px;
    }

    .course-item__content {
        padding: 46px 10px 12px 10px;
    }

    .course-item__readmore {
        transform: translateY(-12px);
        padding: 7px 12px;
        font-size: 13px;
    }
}

/* Small helpers */
.course-item__thumb-img,
.course-item__avatar {
    user-select: none;
    -webkit-user-drag: none;
}

.home-banner {
    width: 100%;
    min-height: calc(100vh - 126px);
    position: relative;
    background: url('./images/assets/business-training.jpeg') center/cover no-repeat;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-height: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* HERO / BANNER with bottom features - responsive */

/* Base reset for this section */
.home-banner,
.hero-content,
.hero-cards-wrap,
.hero-cards,
.hero-card {
    box-sizing: border-box;
}

/* Banner */
/* .home-banner {
      position: relative;
      min-height: 560px;
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      overflow: visible;
      color: #fff;
    } */

/* Optional: add the background here (or use inline style on .home-banner) */
/* .home-banner { background-image: url("your-image.jpg"); } */

/* subtle dark gradient so text stays readable */
.home-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 40%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

/* keep container content above the overlay */
.home-banner .container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    padding: 0 20px;
}

/* Hero content (left column) */
.hero-content {
    max-width: 680px;
    padding: 36px 20px;
}

.hero-content .eyebrow {
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 12px;
}

.hero-content .hero-title {
    margin: 0 0 18px;
    font-weight: 800;
    font-size: clamp(36px, 7vw, 88px);
    line-height: 0.95;
    text-transform: uppercase;
    color: #fff;
}

.hero-content .hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.hero-content .btn-cta {
    display: inline-block;
    background: #ff5722;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* ------------------ bottom 3 cards container (anchored) ------------------ */
.hero-cards-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 22px;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 1140px;
    padding: 0 10px;
    pointer-events: none;
    /* allow inner anchors to handle pointer events */
}

.hero-cards {
    display: flex;
    gap: 18px;
    justify-content: center;
    pointer-events: auto;
    /* enable clicks inside */
}

/* Single card */
.hero-card {
    flex: 1 1 0;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(0, 0, 0, 0.55);
    padding: 16px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease;
    outline: none;
}

.hero-card:hover,
.hero-card:focus {
    transform: translateY(-6px);
    background: rgba(0, 0, 0, 0.65);
}

/* icon block (left) */
.hero-card .icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #ff5722;
    font-size: 26px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* card text (right) */
/* scoped to .hero-card .card-body so it won't override other .card-body */
.hero-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-card .card-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0;
}

.hero-card .card-sub {
    color: #00796b;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* add small arrow via pseudo or icon font (optional) */
.hero-card .card-sub::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
    font-size: 11px;
}

/* Accessibility focus */
.hero-card:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.14);
    border-radius: 6px;
}

/* ------------------ Responsive ------------------ */
/* @media (max-width: 992px) {
      .hero-cards-wrap { bottom: 16px; width: calc(100% - 40px); }
      .hero-cards { flex-wrap: wrap; justify-content: center; }
      .hero-card { min-width: 200px; }
    }

    @media (max-width: 700px) {
      .home-banner { min-height: 420px; }
      .hero-content { padding-top: 20px; }

      .hero-cards { flex-direction: column; gap: 12px; }
      .hero-cards-wrap {
        position: relative;

        bottom: -34px;
        margin: 0 auto;
      }
      .hero-card { width: 100%; max-width: 560px; margin: 0 auto; }
      .hero-content .hero-title { font-size: clamp(28px, 9vw, 48px); }
    }


    .hero-card, .hero-card * { box-sizing: border-box; } */

/* Tablets */
@media (max-width: 991px) {
    .hero-content {
        max-width: 500px;
        padding: 30px 15px;
    }

    .hero-content .hero-title {
        font-size: clamp(28px, 8vw, 64px);
    }

    .hero-content .hero-sub {
        font-size: 16px;
    }

    .hero-cards-wrap {
        bottom: 16px;
    }

    .hero-card {
        flex: 1 1 45%;
        min-width: auto;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .home-banner {
        min-height: 70vh;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 20px 15px;
    }

    .hero-content .hero-title {
        font-size: clamp(24px, 9vw, 48px);
    }

    .hero-content .hero-sub {
        font-size: 14px;
    }

    .hero-cards {
        flex-direction: column;
        gap: 12px;
    }

    .hero-card {
        flex: 1 1 100%;
        padding: 14px 16px;
    }

    .hero-card .icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 22px;
    }

    .hero-cards-wrap {
        bottom: 12px;
        width: calc(100% - 20px);
    }
}

:root {
    --brand-dark: #0b0630;
    --accent: #ff7a2d;
    --muted: #6b7280;
    --card-border: #eef2f6;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    margin: 0;
    color: #222;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

.container-max {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 18px;
}

/* Top dark bar */
.topbar {
    background: var(--brand-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.topbar .left,
.topbar .right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar input[type="search"] {
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    padding: 7px 12px;
    border-radius: 20px;
    color: #fff;
    width: 360px;
    max-width: 100%;
}

.topbar .small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

/* Main nav */
.mainnav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}

.mainnav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 800;
    color: var(--accent);
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #333;
    font-weight: 600;
}

/* Hero */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 13, 37, 0.86) 0%, rgba(9, 13, 37, 0.55) 40%, rgba(9, 13, 37, 0.12) 100%);
    z-index: 1;
}

.hero .hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 18px;
}

.hero .breadcrumb {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 10px;
    font-size: 14px;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin: 0 0 12px;
    font-weight: 800;
}

/* Page layout */
.page {
    width: 100%;
    max-width: var(--max-width);
    margin: 36px auto;
    padding: 0 18px 80px;
}

.layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.col-left {
    flex: 1 1 0;
    min-width: 0;
}

.col-right {
    width: 360px;
    flex: 0 0 360px;
}

/* Meta row etc */
.meta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.author-pill {
    display: flex;
    gap: 12px;
    align-items: center;
}

.author-pill img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.rating {
    color: #f6b500;
    font-weight: 700;
    display: flex;
    gap: 6px;
    align-items: center;
}

.actions {
    display: flex;
    gap: 12px;
    color: var(--muted);
    align-items: center;
    font-size: 14px;
}

.categories {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.cat {
    background: #f3f5fb;
    padding: 8px 12px;
    border-radius: 6px;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
}

/* Section card */
.card-section {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    border: 1px solid var(--card-border);
    box-shadow: 0 6px 20px rgba(12, 14, 44, 0.03);
    margin-bottom: 22px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.course-description {
    color: #374151;
    line-height: 1.75;
    margin-bottom: 12px;
}

.show-more {
    background: none;
    border: 0;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

/* What you'll learn */
.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
    margin-top: 14px;
    padding-left: 0px;
}

.learn-grid li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
}

.learn-grid li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 12px;
}

/* Omx-style curriculum accordion */
.omx-curriculum {
    margin: 0;
    padding: 0;
}

.omx-module {
    border: 1px solid #e6edf3;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(12, 14, 44, 0.03);
    margin-bottom: 12px;
}

.omx-module-header {
    background: #f5f7fa;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.omx-module-title {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.omx-toggle {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--accent);
    font-size: 14px;
}

.omx-module-list {
    padding: 0;
    margin: 0;
}

.omx-lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    color: #263036;
    font-weight: 600;
    transition: background .12s ease;
}

.omx-lesson+.omx-lesson {
    border-top: 1px solid #f1f3f6;
}

.omx-lesson-media {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6f8;
    border-radius: 6px;
    color: #9aa4b2;
    font-size: 14px;
}

.omx-lesson-title {
    flex: 1 1 auto;
    color: #263036;
    font-size: 14px;
    line-height: 1.2;
}

.omx-lesson-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9aa4b2;
    font-size: 13px;
    white-space: nowrap;
}

.omx-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9aa4b2;
    font-size: 13px;
}

.omx-lesson:hover {
    background: #fbfcfd;
}

.omx-module-header.active {
    background: #f8fafb;
}

.omx-module-header .omx-toggle i {
    transition: transform .18s ease;
}

/* Tabs */
.nav-tabs {
    border-bottom: 1px solid #e6edf3;
    margin-bottom: 18px;
}

.nav-tabs .nav-link {
    color: #6b7280;
    font-weight: 600;
    border: none;
    padding: 10px 14px;
    border-radius: 0;
}

.nav-tabs .nav-link.active {
    color: #111827;
    border-bottom: 3px solid var(--accent);
    background: transparent;
}

/* Reviews */
.rating-overview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.rating-box {
    flex: 0 0 160px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.rating-number {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
}

.rating-stars {
    color: var(--accent);
    margin: 6px 0;
}

.rating-total {
    color: var(--muted);
    font-size: 14px;
}

.rating-bars {
    flex: 1 1 0;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 14px 18px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.rating-bar-row .star {
    width: 28px;
    text-align: right;
    color: #111827;
    font-weight: 700;
}

.rating-bar-row .bar-track {
    flex: 1;
    height: 10px;
    background: #f1f3f6;
    border-radius: 999px;
    overflow: hidden;
}

.rating-bar-row .bar-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width .6s ease;
}

.rating-bar-row .count {
    width: 80px;
    text-align: right;
    color: var(--muted);
    font-weight: 700;
}

.reviews-list .review {
    padding: 18px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
}

.review .review-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.review .review-head img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review .review-body {
    margin-top: 10px;
    color: #374151;
}

/* purchase card */
.purchase-card {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 12px 30px rgba(12, 14, 44, 0.06);
    background: #fff;
    margin-bottom: 16px;
}

.video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.purchase-body {
    padding: 18px;
}

.btn-add {
    display: block;
    width: 100%;
    background: var(--accent);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
}

.meta-list {
    list-style: none;
    padding: 12px 0 0 0;
    margin: 12px 0 0 0;
    border-top: 1px solid #f1f4f8;
}

.meta-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
    font-size: 14px;
    color: #596270;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #596270;
}

.meta-left i {
    color: #9aa4b2;
    font-size: 16px;
    width: 20px;
    text-align: center;
    min-width: 20px;
}

.meta-right {
    font-weight: 700;
    color: #111827;
}

.material-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: #fff;
    box-shadow: 0 8px 20px rgba(12, 14, 44, 0.03);
}

.material-box li {
    list-style: none;
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.material-box li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 12px;
}

/* footer */
.site-footer {
    background: var(--brand-dark);
    color: #fff;
    padding: 48px 0 24px;
    margin-top: 48px;
}

.site-footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 18px;
}

.site-footer .logo {
    color: var(--accent);
    font-weight: 800;
    font-size: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

/* responsive */
@media (max-width:992px) {
    .layout {
        flex-direction: column;
    }

    .col-right {
        width: 100%;
        margin-top: 20px;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 360px;
    }

    .hero .hero-inner {
        padding: 36px 18px;
    }
}

@media (max-width:520px) {
    .topbar input[type="search"] {
        width: 160px;
    }
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
