/* ============================================================
   COURSE INDEX PAGE - Premium Education Platform
   Brand: deep-orange-500 (#FB471F) + indigo-900 (#1A237E)
   ============================================================ */

/* HERO SECTION */
.course-hero {
    background: linear-gradient(135deg, #1A237E 0%, #283593 40%, #FB471F 100%);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.course-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.course-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.course-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.course-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.course-hero__breadcrumb a:hover {
    color: #fff;
}

.course-hero__breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.course-hero__title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.course-hero__title span {
    color: #FDAA98;
    font-size: inherit;
}

.course-hero__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

/* Legacy single search (kept for backward compat) */
.course-hero__search {
    position: relative;
    max-width: 480px;
}

.course-hero__search input {
    width: 100%;
    height: 52px;
    border-radius: 100px;
    border: none;
    padding: 0 52px 0 24px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #1A237E;
    outline: none;
    transition: box-shadow 0.2s;
}

.course-hero__search input::placeholder {
    color: #969CAC;
}

.course-hero__search input:focus {
    box-shadow: 0 0 0 3px rgba(251, 71, 31, 0.3);
}

.course-hero__search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #FB471F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.course-hero__search button:hover {
    background: #E4411C;
}

/* Search form with category select */
.course-hero__search-form {
    display: flex;
    align-items: center;
    max-width: 580px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 100px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.course-hero__search-select {
    flex-shrink: 0;
    border-right: 1.5px solid #E4E6EB;
}

.course-hero__search-select select {
    height: 52px;
    border: none;
    background: transparent;
    padding: 0 12px 0 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1A237E;
    cursor: pointer;
    outline: none;
    appearance: none;
    min-width: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%231A237E' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    transition: background-color 0.2s;
}

.course-hero__search-select select:hover {
    background-color: rgba(26, 35, 126, 0.05);
}

.course-hero__search-input {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.course-hero__search-input input {
    width: 100%;
    height: 52px;
    border: none;
    padding: 0 54px 0 16px;
    font-size: 15px;
    background: transparent;
    color: #1A237E;
    outline: none;
}

.course-hero__search-input input::placeholder {
    color: #969CAC;
}

.course-hero__search-input button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #FB471F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.course-hero__search-input button:hover {
    background: #E4411C;
}

.course-hero__search-input button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.course-hero__search-form:focus-within {
    box-shadow: 0 0 0 3px rgba(251, 71, 31, 0.3);
}

@media (max-width: 575px) {
    .course-hero__search-form {
        flex-direction: column;
        border-radius: 16px;
        overflow: visible;
    }

    .course-hero__search-select {
        border-right: none;
        border-bottom: 1.5px solid #E4E6EB;
        width: 100%;
    }

    .course-hero__search-select select {
        width: 100%;
        height: 46px;
        border-radius: 16px 16px 0 0;
        font-size: 13px;
        min-width: unset;
    }

    .course-hero__search-input {
        width: 100%;
    }

    .course-hero__search-input input {
        height: 46px;
        font-size: 14px;
        padding-left: 16px;
    }
}

.course-hero__visual {
    position: relative;
    z-index: 2;
}

.course-hero__visual img {
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.course-hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.course-hero__stat {
    text-align: center;
}

.course-hero__stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.course-hero__stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 991px) {
    .course-hero {
        padding: 32px 24px;
        min-height: auto;
    }

    .course-hero__title {
        font-size: 30px;
    }

    .course-hero__visual {
        display: none;
    }

    .course-hero__stats {
        gap: 20px;
    }

    .course-hero__stat-number {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .course-hero {
        padding: 24px 16px;
    }

    .course-hero__title {
        font-size: 26px;
    }

    .course-hero__desc {
        font-size: 14px;
    }
}

/* CATEGORY PILLS */
.course-categories {
    padding: 32px 0 16px;
}

.course-categories__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.course-cate-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid #E4E6EB;
    color: #353841;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.course-cate-pill:hover {
    border-color: #FB471F;
    color: #FB471F;
    background: #FFEDE9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 71, 31, 0.12);
}

.course-cate-pill__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EDEFF9;
    color: #3F51B5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.course-cate-pill:hover .course-cate-pill__icon {
    background: #FB471F;
    color: #fff;
}

@media (max-width: 575px) {
    .course-cate-pill {
        padding: 10px 16px;
        font-size: 13px;
    }

    .course-cate-pill__icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* SECTION HEADERS */
.course-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #EDEFF9;
}

.course-section-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-section-header__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FB471F, #E4411C);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.course-section-header__title {
    font-size: 24px;
    font-weight: 700;
    color: #1A237E;
    margin: 0;
    line-height: 1.3;
}

.course-section-header__subtitle {
    font-size: 14px;
    color: #7C8292;
    margin: 2px 0 0;
}

.course-section-header__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FB471F;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid #FDAA98;
    transition: all 0.2s;
    white-space: nowrap;
}

.course-section-header__action:hover {
    background: #FB471F;
    color: #fff;
    border-color: #FB471F;
}

@media (max-width: 575px) {
    .course-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .course-section-header__title {
        font-size: 20px;
    }
}

/* COURSE CARDS - Premium */
.course-card-v2 {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E4E6EB;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.course-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 35, 126, 0.1);
    border-color: #C5CAE9;
}

.course-card-v2__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.course-card-v2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card-v2:hover .course-card-v2__thumb img {
    transform: scale(1.05);
}

.course-card-v2__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #1A237E, #3949AB);
    color: #fff;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.course-card-v2__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-card-v2__title {
    font-size: 17px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-v2__title a {
    color: inherit;
    text-decoration: none;
}

.course-card-v2__title a:hover {
    color: #FB471F;
}

.course-card-v2__creator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
}

.course-card-v2__creator-name {
    font-weight: 600;
    color: #4CAF50;
}

.course-card-v2__creator-verified {
    color: #4CAF50;
    font-size: 12px;
}

.course-card-v2__creator-date {
    margin-left: auto;
    color: #969CAC;
    font-size: 12px;
}

.course-card-v2__price {
    font-size: 20px;
    font-weight: 700;
    color: #FB471F;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.course-card-v2__price-currency {
    font-size: 14px;
    font-weight: 500;
}

.course-card-v2__desc {
    font-size: 13px;
    color: #616678;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    margin-bottom: 16px;
}

.course-card-v2__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #F3F4F7;
    margin-top: auto;
}

.course-card-v2__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 100px;
    background: #FB471F;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.course-card-v2__cta:hover {
    background: #E4411C;
    color: #fff;
}

.course-card-v2__posted {
    font-size: 12px;
    color: #969CAC;
}

/* HIGHLIGHT SECTION - Premium */
.course-highlight-section {
    border-radius: 24px;
    padding: 40px 0;
    margin: 32px 0;
}

.course-highlight-section:nth-child(odd) {
    background: #EDEFF9;
}

.course-highlight-section:nth-child(even) {
    background: #FFEDE9;
}

.course-highlight__image {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.course-highlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}

.course-highlight__image:hover img {
    transform: scale(1.03);
}

.course-highlight__content {
    padding: 16px 0;
}

.course-highlight__title {
    font-size: 28px;
    font-weight: 800;
    color: #1A237E;
    margin-bottom: 20px;
    line-height: 1.3;
}

.course-highlight__children {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.course-highlight__child {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: padding-left 0.2s;
}

.course-highlight__child:hover {
    padding-left: 8px;
}

.course-highlight__child:last-child {
    border-bottom: none;
}

.course-highlight__child-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.course-highlight-section:nth-child(odd) .course-highlight__child-icon {
    background: #C5CAE9;
    color: #1A237E;
}

.course-highlight-section:nth-child(even) .course-highlight__child-icon {
    background: #FEC6BA;
    color: #B23216;
}

.course-highlight__child a {
    color: #353841;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.course-highlight__child a:hover {
    color: #FB471F;
}

/* FEATURED COURSE (Highlight Card) */
.course-featured-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E4E6EB;
    transition: box-shadow 0.3s;
    margin-bottom: 24px;
}

.course-featured-card:hover {
    box-shadow: 0 8px 24px rgba(26, 35, 126, 0.08);
}

.course-featured-card__thumb {
    position: relative;
    overflow: hidden;
}

.course-featured-card__thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s;
}
@media (max-width: 575px) {
    .course-featured-card__thumb img {
        height: 180px;
    }
    .course-featured-card__body {
        padding: 16px;
    }
    .course-featured-card__title {
        font-size: 18px;
    }
    .course-featured-card__price {
        font-size: 18px;
    }
}

.course-featured-card:hover .course-featured-card__thumb img {
    transform: scale(1.03);
}

.course-featured-card__location {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #353841;
}

.course-featured-card__body {
    padding: 24px;
}

.course-featured-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 8px;
    line-height: 1.3;
}

.course-featured-card__title a {
    color: inherit;
    text-decoration: none;
}

.course-featured-card__title a:hover {
    color: #FB471F;
}

.course-featured-card__creator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.course-featured-card__price {
    font-size: 22px;
    font-weight: 700;
    color: #FB471F;
    margin-bottom: 12px;
}

.course-featured-card__desc {
    color: #616678;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-featured-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* SERVICE CATEGORIES - Premium */
.course-service-section {
    padding: 48px 0;
}

.course-service__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.course-service__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #F3F4F7;
    color: #353841;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.course-service__item:hover {
    background: #EDEFF9;
    border-color: #3F51B5;
    color: #1A237E;
    transform: translateY(-2px);
}

.course-service__item:nth-child(3n+1) {
    border-left: 3px solid #FB471F;
}

.course-service__item:nth-child(3n+2) {
    border-left: 3px solid #3F51B5;
}

.course-service__item:nth-child(3n) {
    border-left: 3px solid #353841;
}

.course-service__image img {
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: -16px 0 32px rgba(26, 35, 126, 0.08);
}

/* TAG SECTION */
.course-tags {
    padding: 24px 0;
    border-top: 2px solid #EDEFF9;
}

/* SKELETON LOADING */
.course-skeleton .skeleton-card {
    border: 1px solid #E4E6EB;
    border-radius: 16px;
    overflow: hidden;
}

.course-skeleton .skeleton-img {
    height: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.course-skeleton .skeleton-line {
    height: 14px;
    border-radius: 6px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* UTILITY: course page specific */
.course-page-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* OWL CAROUSEL overrides for course sections */
.course-carousel-section .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    border-radius: 50% !important;
    border: 1px solid #E4E6EB !important;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.course-carousel-section .owl-nav button:hover {
    border-color: #FB471F !important;
    color: #FB471F !important;
    box-shadow: 0 4px 12px rgba(251, 71, 31, 0.15);
}

.course-carousel-section .owl-prev {
    left: -16px;
}

.course-carousel-section .owl-next {
    right: -16px;
}

/* ============================================================
   COURSE CATEGORY PAGE
   ============================================================ */

/* HERO BANNER */
.course-cate-hero {
    background: linear-gradient(135deg, #1A237E 0%, #283593 50%, #FB471F 100%);
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.course-cate-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.course-cate-hero::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: 25%;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.course-cate-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.course-cate-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.course-cate-hero__breadcrumb a:hover {
    color: #fff;
}

.course-cate-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.course-cate-hero__breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.course-cate-hero__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 8px;
    position: relative;
    z-index: 2;
}

.course-cate-hero__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
    position: relative;
    z-index: 2;
}

.course-cate-hero__subtitle strong {
    color: #FDAA98;
    font-weight: 700;
}

.course-cate-hero__search {
    position: relative;
    max-width: 520px;
    z-index: 2;
}

.course-cate-hero__search input {
    width: 100%;
    height: 50px;
    border-radius: 100px;
    border: none;
    padding: 0 54px 0 24px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #1A237E;
    outline: none;
    transition: box-shadow 0.2s;
}

.course-cate-hero__search input::placeholder {
    color: #969CAC;
}

.course-cate-hero__search input:focus {
    box-shadow: 0 0 0 3px rgba(251, 71, 31, 0.3);
}

.course-cate-hero__search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #FB471F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.course-cate-hero__search button:hover {
    background: #E4411C;
}

@media (max-width: 991px) {
    .course-cate-hero {
        padding: 32px 24px;
    }

    .course-cate-hero__title {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .course-cate-hero {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .course-cate-hero__title {
        font-size: 24px;
    }

    .course-cate-hero__subtitle {
        font-size: 14px;
    }

    .course-cate-hero__search input {
        height: 46px;
        font-size: 14px;
    }
}

/* LISTING PAGE SEARCH */
.course-listing-search {
    background: linear-gradient(135deg, #1A237E 0%, #283593 50%, #FB471F 100%);
    border-radius: 24px;
    padding: 32px 36px;
    position: relative;
    overflow: hidden;
}

.course-listing-search::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.course-listing-search__title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .course-listing-search {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .course-listing-search__title {
        font-size: 22px;
        margin-bottom: 16px;
    }
}

/* LISTING SECTION */
.course-cate-listing {
    padding: 32px 0 16px;
}

.course-cate-listing__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #EDEFF9;
}

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

.course-cate-listing__header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FB471F, #E4411C);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.course-cate-listing__header-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A237E;
    margin: 0;
    line-height: 1.3;
}

.course-cate-listing__header-subtitle {
    font-size: 14px;
    color: #7C8292;
    margin-top: 2px;
    display: block;
}

/* Inline search in listing header */
.course-cate-listing__search-inline {
    display: flex;
    align-items: center;
    border: 1.5px solid #E4E6EB;
    border-radius: 100px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.course-cate-listing__search-inline:focus-within {
    border-color: #3F51B5;
}

.course-cate-listing__search-input {
    height: 40px;
    border: none;
    padding: 0 4px 0 16px;
    font-size: 14px;
    color: #353841;
    background: transparent;
    outline: none;
    width: 200px;
}

.course-cate-listing__search-input::placeholder {
    color: #969CAC;
}

.course-cate-listing__search-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #FB471F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 2px;
    flex-shrink: 0;
}

.course-cate-listing__search-btn:hover {
    background: #E4411C;
}

.course-cate-listing__search-btn:focus-visible {
    outline: 2px solid #3F51B5;
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .course-cate-listing__search-input {
        width: 140px;
        font-size: 13px;
    }
}

.course-cate-listing__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-cate-listing__sort label {
    font-size: 14px;
    font-weight: 600;
    color: #616678;
    white-space: nowrap;
    margin: 0;
}

.course-cate-listing__sort select {
    height: 40px;
    border-radius: 100px;
    border: 1.5px solid #E4E6EB;
    padding: 0 36px 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #353841;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23616678' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.course-cate-listing__sort select:focus {
    border-color: #3F51B5;
}

.course-cate-listing__pagination {
    display: flex;
    justify-content: center;
    padding: 24px 0 8px;
}

/* EMPTY STATE */
.course-cate-empty {
    text-align: center;
    padding: 64px 24px;
}

.course-cate-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #EDEFF9;
    color: #3F51B5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.course-cate-empty__title {
    font-size: 20px;
    font-weight: 700;
    color: #1A237E;
    margin: 0 0 8px;
}

.course-cate-empty__desc {
    font-size: 15px;
    color: #7C8292;
    margin: 0 0 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.course-cate-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 100px;
    background: #FB471F;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.course-cate-empty__btn:hover {
    background: #E4411C;
    color: #fff;
}

@media (max-width: 575px) {
    .course-cate-listing__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .course-cate-listing__header-title {
        font-size: 18px;
    }

    .course-cate-empty {
        padding: 40px 16px;
    }

    .course-cate-empty__icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
}

/* ============================================================
   COURSE DETAIL PAGE
   Prefix: course-detail-
   ============================================================ */

/* HERO BANNER */
.course-detail-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 580px;
    max-height: 780px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 32px;
}

.course-detail-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.course-detail-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.course-detail-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(26, 35, 126, 0.75) 0%,
            rgba(26, 35, 126, 0.5) 40%,
            rgba(26, 35, 126, 0.3) 100%);
}

/* Fallback: no image — pure brand gradient */
.course-detail-hero--no-img .course-detail-hero__bg {
    background: linear-gradient(135deg, #1A237E 0%, #283593 40%, #FB471F 100%);
}

.course-detail-hero--no-img .course-detail-hero__bg::after {
    display: none;
}

.course-detail-hero__content {
    position: relative;
    z-index: 2;
    padding: 40px 36px 36px;
    width: 100%;
}

.course-detail-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    flex-wrap: wrap;
}

.course-detail-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.course-detail-hero__breadcrumb a:hover {
    color: #fff;
}

.course-detail-hero__breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

.course-detail-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.55);
}

.course-detail-hero__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
}

.course-detail-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.course-detail-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}

.course-detail-hero__badge:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.course-detail-hero__date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 767px) {
    .course-detail-hero {
        min-height: 220px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .course-detail-hero__content {
        padding: 24px 20px 20px;
    }

    .course-detail-hero__title {
        font-size: 22px;
    }
}

/* INFO CARDS */
.course-detail-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.course-detail-info__card {
    background: #F3F4F7;
    border-radius: 14px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.course-detail-info__card:hover {
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.08);
}

.course-detail-info__label {
    font-size: 12px;
    font-weight: 600;
    color: #7C8292;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-detail-info__label i {
    font-size: 14px;
    color: #FB471F;
}

.course-detail-info__value {
    font-size: 17px;
    font-weight: 700;
    color: #1A237E;
    line-height: 1.3;
    word-break: break-word;
}

.course-detail-info__value--price {
    color: #FB471F;
    font-size: 20px;
}

@media (max-width: 767px) {
    .course-detail-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .course-detail-info__card {
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .course-detail-info__label {
        margin-bottom: 0;
    }

    .course-detail-info__value {
        font-size: 15px;
        text-align: right;
    }

    .course-detail-info__value--price {
        font-size: 17px;
    }
}

/* CONTENT PROSE */
.course-detail-content {
    margin-bottom: 32px;
}

.course-detail-content h1,
.course-detail-content h2,
.course-detail-content h3,
.course-detail-content h4 {
    color: #1A237E;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 28px;
    margin-bottom: 12px;
}

.course-detail-content h1 {
    font-size: 28px;
}

.course-detail-content h2 {
    font-size: 24px;
}

.course-detail-content h3 {
    font-size: 20px;
}

.course-detail-content h4 {
    font-size: 17px;
}

.course-detail-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #353841;
    margin-bottom: 16px;
}

.course-detail-content ul,
.course-detail-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.course-detail-content li {
    font-size: 15px;
    line-height: 1.7;
    color: #353841;
    margin-bottom: 6px;
}

.course-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.course-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.course-detail-content table th,
.course-detail-content table td {
    padding: 10px 14px;
    border: 1px solid #E4E6EB;
    text-align: left;
}

.course-detail-content table th {
    background: #F3F4F7;
    font-weight: 600;
    color: #1A237E;
}

.course-detail-content a {
    color: #FB471F;
    text-decoration: underline;
    transition: color 0.2s;
}

.course-detail-content a:hover {
    color: #E4411C;
}

.course-detail-content blockquote {
    border-left: 4px solid #FB471F;
    padding: 12px 20px;
    margin: 16px 0;
    background: #FFF5F2;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4B4F5C;
}

.course-detail-content strong {
    color: #1A237E;
}

/* SIDEBAR */
.course-detail-sidebar {
    position: sticky;
    top: 90px;
}

.course-detail-sidebar__cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FB471F, #E4411C);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.course-detail-sidebar__cta:hover {
    background: linear-gradient(135deg, #E4411C, #B23216);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 71, 31, 0.3);
}

.course-detail-sidebar__cta i {
    margin-left: 8px;
}

/* SHARE CARD */
.course-detail-share {
    background: #F3F4F7;
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
}

.course-detail-share__title {
    font-size: 14px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 12px;
}

.course-detail-share__buttons {
    display: flex;
    gap: 10px;
}

.course-detail-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #E4E6EB;
    background: #fff;
    color: #4B4F5C;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.course-detail-share__btn:hover {
    border-color: #1A237E;
    color: #1A237E;
    background: #E8EAF6;
}

.course-detail-share__btn--fb:hover {
    border-color: #1877F2;
    color: #1877F2;
    background: #E7F0FF;
}

.course-detail-share__btn--copied {
    border-color: #4CAF50;
    color: #4CAF50;
    background: #EDF7EE;
}

@media (max-width: 991px) {
    .course-detail-sidebar {
        position: static;
        margin-top: 32px;
    }
}