.course-page { overflow: hidden; }

        .hero-course {
            padding: 90px 0 70px;
            background:
                radial-gradient(circle at top left, rgba(113, 92, 214, .18), transparent 35%),
                linear-gradient(180deg, #f7f5ff 0%, #ffffff 100%);
            text-align: center;
        }

        .hero-course h1 {
            font-size: 46px;
            font-weight: 800;
            color: #22284b;
            margin-bottom: 14px;
        }

        .hero-course p {
            color: #687089;
            font-size: 16px;
            margin-bottom: 34px;
        }

        .course-search {
            max-width: 640px;
            margin: 0 auto;
            background: #fff;
            border-radius: 18px;
            padding: 10px;
            box-shadow: 0 18px 40px rgba(40, 45, 80, .14);
            display: flex;
            gap: 10px;
        }

        .course-search input {
            border: 0;
            flex: 1;
            padding: 14px 18px;
            font-size: 16px;
            outline: none;
        }

        .course-search button {
            border: 0;
            border-radius: 14px;
            padding: 0 28px;
            background: linear-gradient(135deg, #6152bf, #7c64df);
            color: #fff;
            font-weight: 700;
        }

        .section-title {
            font-size: 32px;
            font-weight: 800;
            color: #242a4d;
            margin-bottom: 28px;
            position: relative;
            padding-left: 18px;
        }

        .section-title:before {
            content: "";
            width: 6px;
            height: 38px;
            border-radius: 99px;
            background: #6657c7;
            position: absolute;
            left: 0;
            top: 2px;
        }

        .recommended-card {
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 18px 45px rgba(40, 45, 80, .13);
            overflow: hidden;
            border: 1px solid rgba(98, 82, 191, .12);
            height: 100%;
        }

        .recommended-img {
            height: 400px;
            overflow: hidden;
        }

        .recommended-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .recommended-body { padding: 26px; }

        .badge-soft {
            display: inline-block;
            padding: 7px 16px;
            border-radius: 999px;
            background: #6a58cb;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .recommended-body h2 {
            font-size: 28px;
            line-height: 1.25;
            font-weight: 800;
            color: #20264a;
        }

        .recommended-body ul {
            padding-left: 0;
            margin: 18px 0 22px;
            list-style: none;
        }

        .recommended-body li {
            margin-bottom: 8px;
            color: #454b65;
        }

        .recommended-body li i {
            color: #6a58cb;
            margin-right: 8px;
        }

        .btn-main {
            display: inline-block;
            width: 100%;
            text-align: center;
            padding: 12px 22px;
            border-radius: 999px;
            background: linear-gradient(135deg, #6657c7, #7669dc);
            color: #fff !important;
            font-weight: 700;
            text-decoration: none;
        }

        .filter-pills {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 34px;
        }

        .filter-btn {
            border: 1px solid #6657c7;
            background: #fff;
            color: #49408e;
            border-radius: 999px;
            padding: 8px 18px;
            font-weight: 600;
            cursor: pointer;
            transition: .25s;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: #6657c7;
            color: #fff;
        }

        .course-card {
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 14px 32px rgba(40, 45, 80, .12);
            border: 1px solid rgba(98, 82, 191, .12);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .course-card-img {
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .course-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

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

        .course-card h3 {
            font-size: 19px;
            font-weight: 800;
            line-height: 1.35;
            color: #20264a;
            min-height: 52px;
            margin-bottom: 6px;
        }

        .course-card a:hover h3 { color: #6657c7; }

        .course-en {
            font-size: 14px;
            color: #5d6478;
            min-height: 42px;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .course-meta {
            margin-top: auto;
            font-size: 14px;
            color: #596075;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .course-card .btn-outline-course {
            margin-top: 14px;
            border: 1px solid #6657c7;
            border-radius: 999px;
            padding: 8px 14px;
            text-align: center;
            font-weight: 700;
            color: #6657c7;
            text-decoration: none;
        }

        .course-card .btn-outline-course:hover {
            background: #6657c7;
            color: #fff;
        }

        .load-more-wrap {
            text-align: center;
            margin-top: 36px;
        }

        .btn-load-more {
            border: 0;
            border-radius: 999px;
            padding: 13px 34px;
            background: linear-gradient(135deg, #6657c7, #7e6fe5);
            color: #fff;
            font-weight: 800;
            box-shadow: 0 14px 30px rgba(102, 87, 199, .25);
            cursor: pointer;
        }

        .btn-load-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 38px rgba(102, 87, 199, .35);
        }

        .no-course-message {
            display: none;
            text-align: center;
            padding: 30px;
            color: #6a6f82;
            font-size: 18px;
        }

        .consult-section {
            margin-top: 70px;
            padding: 70px 0;
            background: linear-gradient(135deg, #8bd8f1, #bbefff);
            text-align: center;
        }

        .consult-section h2 {
            font-size: 42px;
            font-weight: 900;
            color: #263052;
            line-height: 1.3;
            margin-bottom: 26px;
        }

        .special-card {
            height: 100%;
            background: #fff;
            border-radius: 20px;
            padding: 28px;
            box-shadow: 0 14px 35px rgba(40,45,80,.12);
            border: 1px solid rgba(98, 82, 191, .12);
            transition: .25s;
            text-decoration: none;
            display: block;
            color: #20264a;
        }

        .special-card:hover {
            transform: translateY(-5px);
            color: #20264a;
        }

        .special-icon {
            width: 62px;
            height: 62px;
            margin-bottom: 18px;
        }

        .special-card h3 {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .special-card p {
            color: #5d6478;
            margin-bottom: 0;
        }

        .logo-strip {
            padding: 70px 0 50px;
            background: #fff;
            overflow: hidden;
        }

        .logo-strip h2 {
            color: #263052;
            font-weight: 800;
            margin-bottom: 35px;
            text-align: center;
        }

        .slder-logo {
            overflow: hidden;
            width: 100%;
        }

        .slider {
            animation: slidein 35s linear infinite;
            white-space: nowrap;
        }

        .logos {
            display: inline-block;
            white-space: nowrap;
        }

        .logos span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 28px;
            height: 70px;
            /* filter: grayscale(100%);
            opacity: .65; */
            transition: .25s;
        }

        .logos span:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

        .logos img {
            max-width: 150px;
            object-fit: contain;
        }

        @keyframes slidein {
            from { transform: translate3d(0, 0, 0); }
            to { transform: translate3d(-50%, 0, 0); }
        }

        @media (max-width: 991px) {
            .hero-course h1 { font-size: 34px; }
            .recommended-img { height: 220px; }
            .consult-section h2 { font-size: 30px; }
        }

        @media (max-width: 768px) {
            .filter-pills {
                flex-wrap: nowrap;
                overflow-x: auto;
                justify-content: flex-start;
                padding-bottom: 10px;
            }

            .filter-btn {
                flex: 0 0 auto;
            }
        }

        @media (max-width: 575px) {
            .course-search { flex-direction: column; }
            .course-search button { padding: 14px; }
        }
        /* ปุ่มลูกศรสีดำ */
        .custom-carousel-btn{
            width: 52px;
            height: 52px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,.75);
            border-radius: 50%;
            opacity: 1;
        }

        .custom-carousel-btn:hover{
            background: #000;
        }

        /* เปลี่ยน icon เป็นสีขาว */
        .custom-icon{
            filter: brightness(0) invert(1);
            width: 22px;
            height: 22px;
        }

        /* ระยะห่างซ้ายขวา */
        .carousel-control-prev{
            left: 20px;
        }

        .carousel-control-next{
            right: 20px;
        }
        /* track ที่วิ่ง */
        .slder-logo .slider {
        display: flex;
        width: max-content;
        will-change: transform;
        animation: logo-marquee 100s linear infinite;
        gap: 30px;
        /* ระยะห่างโลโก้ */
        }
        .special-icon {
    font-size: 42px;
    margin-bottom: 15px;
    color: #5C5CBC; /* เข้ากับ enmarks tone */
    display: inline-block;
}

.special-card {
    display: block;
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-decoration: none;
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.special-card:hover .special-icon {
    color: #7A7AD8;
}