:root {
	 --primary-green: #00A99D;
            --primary-yellow: #FFD100;
            --light-gray: #f7f7f7;
            --border-color: #e0e0e0;
            --text-dark: #333;
            --text-light: #666;
            
			--opw-primary-color: #00A98F; /* Main green color from the design */
            --opw-secondary-color: #FFC107; /* Yellow color for buttons */
            --opw-text-color: #333;
            --opw-light-gray-color: #f8f9fa;
            --opw-border-color: #e0e0e0;
            --opw-discount-color: #e74c3c;
            
            --sc-primary-color: #03a485; /* เขียวเข้ม */
            --sc-accent-color: #FFC107; /* เหลือง */
            --sc-black-color: #000000; /* ดำ */
            --sc-light-green-bg: #dbebe1; /* เขียวอ่อนพื้นหลัง */
            --sc-bg-color: #f0f4f3; /* พื้นหลังโดยรวม */
            --sc-card-bg: #FFFFFF; /* พื้นหลังการ์ด/เนื้อหา */
            --sc-text-color: #333; /* สีตัวอักษรหลัก */
            --sc-light-text-color: #777; /* สีตัวอักษรรอง */
            --sc-border-radius-lg: 15px; /* Radius ใหญ่ */
            --sc-border-radius-md: 8px; /* Radius กลาง */
            --sc-container-width: 1200px;
             --lgn-border-color: #E0E0E0;
            --lgn-facebook-color: #1877F2;
            
            --sml-primary-color: #008765;
            --sml-accent-color: #FFC107;
            --sml-light-green-bg: #EAFBF5;
            --sml-bg-color: #F7F5F0;
            --sml-card-bg: #FFFFFF;
            --sml-text-color: #333;
            --sml-light-text-color: #777;
            --sml-border-color: #EAEAEA;
            --sml-container-width: 1200px;
            --sml-border-radius: 15px;
            
            
            --wsc-primary-color: #008765;
            --wsc-accent-color: #FFC107;
            --wsc-bg-color: #F8F9FA;
            --wsc-card-bg: #FFFFFF;
            --wsc-promo-bg: #00a076;
            --wsc-text-color: #333;
            --wsc-light-text-color: #777;
            --wsc-border-color: #EAEAEA;
            --wsc-container-width: 1200px;
            --wsc-border-radius: 15px;
            
            
             --slc-primary-color: #008765;
            --slc-accent-color: #FFC107;
            --slc-bg-color: #F8F9FA;
            --slc-card-bg: #FFFFFF;
            --slc-text-color: #333;
            --slc-light-text-color: #777;
            --slc-border-color: #EAEAEA;
            --slc-container-width: 1200px;
            --slc-border-radius: 15px;
            
            --slv-primary-color: #008765;
            --slv-accent-color: #FFC107;
            --slv-light-green-bg: #EAFBF5;
            --slv-bg-color: #F8F9FA;
            --slv-card-bg: #FFFFFF;
            --slv-text-color: #333;
            --slv-light-text-color: #777;
            --slv-border-color: #EAEAEA;
            --slv-container-width: 1200px;
            --slv-border-radius: 15px;
            
            --frm-primary-color: #008765;
            --frm-accent-color: #FFC107;
            --frm-light-green-bg: #EAFBF5; /* ไว้สำหรับสถานะ active ก่อนหน้า */
            --frm-bg-color: #F8F9FA;
            --frm-card-bg: #FFFFFF;
            --frm-text-color: #333;
            --frm-light-text-color: #777;
            --frm-border-color: #E0E0E0;
            --frm-container-width: 900px;
            --frm-border-radius: 15px;
            
             --user-profile-bg-color: #F8F9FA;
            --user-profile-border-color: #EAEAEA;
            --user-profile-text-secondary: #6c757d;
        }
        
        
        .sml_highlight-card h3,
.sml_highlight-card p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

		.sml_container {
            max-width: var(--sml-container-width);
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }

        .sc-container {
            max-width: var(--sc-container-width);
            margin: 0 auto;
            padding: 4rem 1.5rem;
        }
        
        h1, h2, h3, h4 {
            color: var(--sc-text-color);
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: var(--sc-primary-color);
        }

        .sc-btn {
            display: inline-block;
            padding: 12px 28px;
            border-radius: 25px;
            font-weight: bold;
            text-align: center;
            transition: all 0.3s ease;
            text-decoration: none;
            border: 2px solid transparent;
            font-size: 1.2rem;
        }

        .sc-btn-outline {
            background-color: transparent;
            color: var(--sc-primary-color);
            border-color: var(--sc-primary-color);
        }
        .sc-btn-outline:hover {
            background-color: var(--sc-primary-color);
            color: white;
            border-color: var(--sc-primary-color);
        }

        .sc-btn-filled {
            background-color: var(--sc-accent-color);
            color: var(--sc-text-color);
            border-color: var(--sc-accent-color);
        }
        .sc-btn-filled:hover {
            background-color: #e9b006;
            border-color: #e9b006;
        }
        
        .sc-play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(255,255,255,0.8);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.4rem;
            color: var(--sc-primary-color);
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.2s ease, background 0.2s ease;
        }
        .sc-play-button:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background: rgba(255,255,255,1);
        }
        .sc-play-button::before { content: '▶'; }

        /* === Header === */
        .sc-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background-color: var(--sc-card-bg);
            border-bottom: 1px solid #eee;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03);
        }
        .sc-header .logo { 
            font-weight: 700; 
            color: var(--sc-primary-color); 
            font-size: 1.8rem;
        }
        .sc-header nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 2rem;
        }
        .sc-header nav a { 
            color: var(--sc-text-color); 
            font-weight: 500; 
            text-decoration: none; 
            transition: color 0.2s ease;
        }
        .sc-header nav a:hover { color: var(--sc-primary-color); }
        
        /* === Hero Slider Section === */
        .sc-hero { 
            padding: 50px 0; 
            background-color: var(--sc-bg-color); 
            overflow: hidden;
            position: relative;
        }
        .sc-hero .slide-container { 
            display: flex; 
            align-items: center; 
            gap: 3rem; 
            max-width: var(--sc-container-width); 
            margin: auto; 
            padding: 1rem 2rem; 
        }
        .sc-hero .slide-text { flex: 1; }
        .sc-hero h1 { 
            font-size: 3.5rem; 
            color: var(--sc-text-color);
            margin-bottom: 1.5rem; 
        }
        .sc-hero p { 
            color: var(--sc-light-text-color); 
            font-size: 1.32rem; 
            margin-bottom: 2.5rem; 
        }
        .sc-hero .slide-buttons .sc-btn:first-child { margin-right: 1rem; letter-spacing: 0; }

        .sc-hero .slide-media { 
            flex: 1; 
            position: relative; 
        }
        .sc-hero .slide-media img { 
            width: 100%; 
            border-radius: var(--sc-border-radius-lg); 
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        }
        .sc-hero .swiper-button-next, .sc-hero .swiper-button-prev {
            color: var(--sc-primary-color);
            background-color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: all 0.2s ease;
        }
        .sc-hero .swiper-button-next:hover, .sc-hero .swiper-button-prev:hover {
            transform: scale(1.1);
        }
        .sc-hero .swiper-button-next::after, .sc-hero .swiper-button-prev::after {
            font-size: 1.44rem;
            font-weight: bold;
        }

        /* === Interactive Filter Section === */
        .sc-interactive-section { 
            background-color: var(--sc-bg-color); 
            /*padding: 4rem 1.5rem;*/
        }
        .sc-filters { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 1.5rem; 
            margin-bottom: 2.5rem; 
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* === UPDATED STYLES FOR FILTER BUTTONS === */
        .sc-filter-btn { 
            background-color: var(--sc-light-green-bg); 
            border: none;
            color: var(--sc-text-color);
            border-radius: var(--sc-border-radius-lg); 
            padding: 1.5rem; 
            text-align: center; 
            cursor: pointer; 
            transition: all 0.3s ease; 
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 120px;
        }
        
        .sc-filter-btn h3 { 
            margin: 0.5rem 0 0.2rem 0; 
            font-size: 1.25rem; 
            font-weight: 600;
            color: inherit; /* รับสีมาจาก parent (.sc-filter-btn) */
        } 
        
        .sc-filter-btn p { 
            margin: 0; 
            font-size: 1.08rem;
            color: inherit; /* รับสีมาจาก parent (.sc-filter-btn) */
        }
        
        .sc-filter-btn .icon {
            width: 40px;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: var(--sc-primary-color);
            transition: color 0.3s ease;
        }
        
        /* Active State */
        .sc-filter-btn.active { 
            background-color: var(--sc-primary-color); 
            color: white; /* ตั้งค่าสีหลักเป็นขาว */
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .sc-filter-btn.active .icon { 
            color: white; /* ทำให้ไอคอนเป็นสีขาวเมื่อ active */
        }
        /* === END OF UPDATED STYLES === */


        .sc-content-area { 
            /*border: 2px solid #E0E0E0;
            border-radius: var(--sc-border-radius-lg); 
            padding: 2.5rem; */
            background-color: var(--sc-bg-color); 
            /*box-shadow: 0 5px 20px rgba(0,0,0,0.05);*/
        }
        .sc-content-wrapper.hidden { display: none; }

        .sc-content-title { 
            font-size: 2.5rem; 
            color: var(--sc-black-color:); 
            margin-top: 0; 
            margin-bottom: 2.5rem; 
            text-align: center;
            font-weight: 700;
        }
        .sc-course-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem; 
        }
        .sc-course-card { 
            border: 1px solid #EEE; 
            border-radius: var(--sc-border-radius-lg); 
            overflow: hidden; 
            background-color: var(--sc-card-bg); 
            box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
            display: flex;
            flex-direction: column;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .sc-course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .sc-course-card .card-banner { 
            width: 100%; 
            height: 100%;
            object-fit: cover;
        }
        .sc-course-card .card-body { 
            padding: 1rem 1.5rem; 
            flex-grow: 1;
        }
        .card-tag2 {
            display: inline-block;
            background-color: var(--sc-light-green-bg);
            color: var(--sc-primary-color);
            padding: 0.25rem 0.75rem;
            border-radius: 5px;
            font-size: 0.96rem;
            font-weight: bold;
            margin-bottom: 0.8rem;
        }
        
        .sc-course-card .card-tag {
            display: inline-block;
            background-color: var(--sc-light-green-bg);
            color: var(--sc-primary-color);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.96rem;
            font-weight: bold;
            margin-bottom: 0.8rem;
        }
        .sc-course-card h4 { 
            margin: 0 0 0.5rem 0; 
            font-size: 1.2rem;
            font-weight: 600;
        }
        .sc-course-card p.card-description {
            font-size: 1.08rem;
            color: var(--sc-light-text-color);
            margin-bottom: 1rem;
        }
        .sc-course-card .card-footer { 
            padding: 1rem 1.5rem; 
            border-top: 1px solid #EEE; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            font-size: 1.08rem;
        }
        .sc-course-card .author-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--sc-primary-color);
        }
        .sc-course-card .author-info img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
        }
        .sc-course-card .price-tag { 
	        letter-spacing: 0;
            background-color: var(--sc-accent-color); 
            padding: 0.5rem 1rem; 
            border-radius: var(--sc-border-radius-md); 
            font-weight: bold; 
            color: var(--sc-text-color);
        }
        .sc-course-card .price-tag.no-charge {
            background-color: #E0E0E0;
            color: var(--sc-light-text-color);
        }
        
        .sc-course-card h4,
.sc-course-card p.card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* << กำหนดให้แสดงสูงสุด 2 บรรทัด */
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* บรรทัดด้านล่างนี้เป็นการสำรองความสูงของการ์ดให้เท่าๆ กัน (ถ้าต้องการ) */
    /* min-height: 3em;  (line-height * 2) ;*/
}

        /* === Services Section === */
         /* === Services Section === */
        .sc-services { background-color: var(--sc-light-green-bg); padding: 4rem 1.5rem; }
        .sc-services .content-wrapper { display: flex; align-items: center; gap: 3rem; max-width: var(--sc-container-width); margin: auto; }
        .sc-services .services-list { flex: 1; }
        .sc-services h2 { font-size: 2.5rem; margin-top: 0; margin-bottom: 1.5rem; color: var(--sc-text-color); font-weight: 700; }
        .sc-services ul { list-style: none; padding: 0; margin-bottom: 2rem; }
        .sc-services li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; }
        .sc-services .icon { 
            width: 35px; height: 35px; background: var(--sc-light-green-bg); color: var(--sc-primary-color); 
            border-radius: 50%; display: flex; justify-content: center; align-items: center; 
            font-weight: bold; font-size: 1.44rem; flex-shrink: 0; margin-top: 5px;
        }
        
        .sc-services .img_icon { 
            width: 50px; height: 50px; background: var(--sc-light-green-bg); color: var(--sc-primary-color); 
            border-radius: 50%; display: flex; justify-content: center; align-items: center; 
            font-weight: bold; font-size: 1.44rem; flex-shrink: 0; margin-top: 5px;
        }
        .sc-services .service-text strong { display: block; font-size: 1.32rem; font-weight: 600; color: var(--sc-text-color); }
        .sc-services .service-text span { display: block; font-size: 1.14rem; color: var(--sc-light-text-color); }
        .sc-services .services-list .sc-btn { font-weight: 500; }
        .sc-services .services-media { flex: 1; position: relative; }
        .sc-services .services-media img { width: 100%; border-radius: var(--sc-border-radius-lg); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
                
        /* === Testimonial Section === */
        /* === Testimonial Section === */
        .sc-testimonial { text-align: left; padding: 4rem 1.5rem; background-color: var(--sc-bg-color); }
        .sc-testimonial .swiper-slide { align-items: center; }
        .sc-testimonial .testimonial-container { display: flex; align-items: center; gap: 3rem; max-width: var(--sc-container-width); margin: auto; }
        .sc-testimonial .testimonial-text { flex: 1; }
        .sc-testimonial h3 { font-size: 1.2rem; color: var(--sc-light-text-color); font-weight: 500; margin-bottom: 0.5rem; }
        .sc-testimonial h2 { font-size: 2.5rem; color: var(--sc-text-color); margin-bottom: 2rem; font-weight: 700; }
        .sc-testimonial p { font-size: 1.32rem; color: var(--sc-light-text-color); line-height: 1.8; }
        .sc-testimonial .testimonial-logo-wrapper { flex-basis: 300px; display: flex; justify-content: center; align-items: center; }
        .sc-testimonial .testimonial-logo {
            width: 250px; height: 250px; background-color: #fce4ec; border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
        }
        .sc-testimonial .testimonial-logo img { max-width: 60%; }
        .sc-testimonial .swiper-button-next, .sc-testimonial .swiper-button-prev { color: var(--sc-primary-color); }
        /* === Contact Section === */
        .sc-contact { 
            text-align: center; 
            background-color: var(--sc-light-green-bg); 
            padding: 4rem 1.5rem; 
        }
        .sc-contact h2 { 
            font-size: 2.5rem; 
            color: var(--sc-black-color); 
            margin-bottom: 2rem; 
            font-weight: 700;
        }
        .sc-contact form { 
            display: flex; 
            justify-content: center; 
            gap: 1rem; 
            margin-top: 1.5rem; 
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        .sc-contact input[type="email"] { 
            flex-grow: 1;
            padding: 1rem 1.5rem; 
            border-radius: 25px;
            border: 1px solid #ccc; 
            font-size: 1.2rem;
            outline: none;
            transition: border-color 0.2s ease;
        }
        .sc-contact input[type="email"]:focus {
            border-color: var(--sc-primary-color);
        }
        
        /* === Footer === */
        .sc-footer { 
            background-color: var(--sc-primary-color); 
            color: white; 
            padding: 4rem 1.5rem 2rem; 
        }
        .sc-footer-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
            gap: 2.5rem; 
            max-width: var(--sc-container-width); 
            margin: auto; 
        }
        .sc-footer h4 { 
            color: white; 
            font-size: 1.25rem; 
            margin-bottom: 1.5rem; 
            font-weight: 600;
        }
        .sc-footer p {
            font-size: 1.14rem;
            line-height: 1.7;
            color: #e0e0e0;
        }
        .sc-footer ul { list-style: none; padding: 0; margin: 0; }
        .sc-footer li { margin-bottom: 0.8rem; }
        .sc-footer a { 
            color: #eee; 
            text-decoration: none; 
            font-size: 1.14rem;
            transition: color 0.2s ease;
        }
        .sc-footer a:hover { color: var(--sc-accent-color); }
        .sc-footer-bottom { 
            text-align: center; 
            margin-top: 3rem; 
            padding-top: 2rem; 
            border-top: 1px solid rgba(255,255,255,0.2); 
            font-size: 1.08rem;
            color: #cccccc;
        }
        .sc-footer .social-icons a {
            font-size: 1.8rem;
            margin-right: 1rem;
            color: white;
            transition: color 0.2s ease;
        }
        .sc-footer .social-icons a:hover { color: var(--sc-accent-color); }

		/* === Modal Styles === */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background-color: white;
            padding: 2.0rem;
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.15);
            position: relative;
            width: 100%;
            max-width: 460px;
            box-sizing: border-box;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .modal-overlay.active .modal-content {
            transform: scale(1);
        }
        
        .modal-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 2.4rem;
            color: var(--light-text-color);
            cursor: pointer;
            line-height: 1;
        }

        .modal-content h2 {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--text-color);
            margin-top: 0;
            margin-bottom: 2rem;
        }
.lgn_modal-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 2.4rem;
            color: var(--lgn-light-text-color);
            cursor: pointer;
            line-height: 1;
        }

        .lgn_modal-content h2 {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--lgn-text-color);
            margin-top: 0;
            margin-bottom: 2rem;
        }

        .lgn_form-group {
            margin-bottom: 1.25rem;
        }

        .lgn_form-group label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .lgn_form-group input {
            width: 100%;
            padding: 0.9rem 1rem;
            border: 1px solid var(--lgn-border-color);
            border-radius: 8px;
            font-size: 1.2rem;
            font-family: inherit;
            box-sizing: border-box;
        }
        
        .lgn_modal-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.75rem;
            width: 100%;
            padding: 0.9rem 1rem;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: 600;
            font-family: inherit;
            border: none;
            cursor: pointer;
            text-decoration: none;
            box-sizing: border-box;
            transition: opacity 0.2s ease;
        }
        
        .lgn_modal-btn:hover {
            opacity: 0.9;
        }

        .lgn_btn-primary {
            background-color: var(--lgn-accent-color);
            color: var(--lgn-text-color);
        }
        
        .lgn_forgot-password {
            text-align: center;
            margin-top: 1rem;
            font-size: 1.08rem;
        }
        
        .lgn_forgot-password a {
            color: var(--lgn-primary-color);
            text-decoration: none;
            font-weight: 500;
        }
        
        .lgn_separator {
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--lgn-light-text-color);
            margin: 2rem 0;
            font-size: 1.08rem;
        }

        .lgn_separator::before,
        .lgn_separator::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--lgn-border-color);
        }

        .lgn_separator:not(:empty)::before {
            margin-right: .5em;
        }

        .lgn_separator:not(:empty)::after {
            margin-left: .5em;
        }
        
        .lgn_social-logins {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .lgn_btn-facebook {
            background-color: var(--lgn-facebook-color);
            color: white;
        }
        
        .lgn_btn-google {
            background-color: white;
            color: var(--lgn-text-color);
            border: 1px solid var(--lgn-border-color);
        }
        
        .lgn_modal-btn svg {
            width: 20px;
            height: 20px;
        }

		/* === Page Header === */
        .sml_page-header {
            text-align: center;
            padding: 4rem 1.5rem;
        }
        .sml_page-header h1 {
            font-size: 2.8rem;
            font-weight: 700;
            margin: 0 0 1rem 0;
        }
        .sml_page-header p {
            font-size: 1.32rem;
            color: var(--sml-light-text-color);
            max-width: 700px;
            margin: 0 auto 2rem auto;
        }
        .sml_search-form {
            display: flex;
            justify-content: center;
            gap: 1rem;
            max-width: 600px;
            margin: auto;
        }
        .sml_search-form input {
            flex-grow: 1;
            border: 1px solid var(--sml-border-color);
            background-color: var(--sml-card-bg);
            padding: 1rem 1.5rem;
            font-size: 1.2rem;
            font-family: inherit;
            outline: none;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        .sml_search-form button {
            border: none;
            background-color: var(--sml-accent-color);
            color: var(--sml-text-color);
            font-family: inherit;
            font-weight: 600;
            padding: 0 2.5rem;
            cursor: pointer;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        /* === Top Slider Section === */
        .sml_top-slider-section {
            position: relative;
        }
        .sml_highlight-card {
            background-color: var(--sml-card-bg);
            border: 1px solid var(--sml-border-color);
            border-radius: var(--sml-border-radius);
            padding: 1.5rem;
            display: flex;
            align-items: center;
            gap: .45rem;
            height: 100%;
            box-sizing: border-box;
        }
        .sml_highlight-card .icon {
	        overflow: hidden; 
            flex-shrink: 0;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background-color: var(--sml-light-green-bg);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .sml_highlight-card .icon img {
            max-width: 100%;
        }
        .sml_highlight-card h3 {
            margin: 0 0 0.25rem 0;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--sml-text-color);
        }
        .sml_highlight-card p {
            margin: 0;
            font-size: 1.08rem;
            opacity: 0.8;
            color: var(--sml-light-text-color);
        }
        
        .sml_top-card-swiper .swiper-button-next,
        .sml_top-card-swiper .swiper-button-prev {
            color: var(--sml-primary-color);
            background-color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .sml_top-card-swiper .swiper-button-next::after,
        .sml_top-card-swiper .swiper-button-prev::after {
            font-size: 1.32rem;
            font-weight: bold;
        }
        
        .wsc_container {
            max-width: var(--wsc-container-width);
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }
        
        /* === Course Detail Layout === */
        .wsc_course-layout {
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 2.5rem;
            align-items: start;
        }
        
        /* Left Column: Promo Card */
        .wsc_promo-card {
            color: white;
            position: sticky;
            top: 2rem;
        }
        .wsc_promo-card h2 {
            font-size: 2rem;
            color: white;
            line-height: 1.3;
            margin: 0;
        }
        .wsc_promo-card .wsc_instructor-photo {
            margin: 0;
        }
        .wsc_promo-card .wsc_instructor-photo img {
            width: 100%;
            border-radius: 10px;
        }
        .wsc_promo-card .wsc_course-info {
            display: flex;
            gap: 1.5rem;
        }
        .wsc_course-info ul {
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 1.08rem;
        }
        .wsc_course-info ul li {
            margin-bottom: 0.5rem;
        }
        .wsc_course-info .wsc_qr-code img {
            max-width: 100px;
            border-radius: 8px;
        }
        .wsc_promo-banner {
            background-color: var(--wsc-accent-color);
            color: var(--wsc-text-color);
            border-radius: 10px;
            padding: 1rem;
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .wsc_promo-banner .wsc_ws-logo {
            font-size: 2.4rem;
            font-weight: 700;
            background-color: var(--wsc-card-bg);
            color: var(--wsc-primary-color);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
            flex-shrink: 0;
        }
        .wsc_promo-banner .wsc_banner-text {
            font-size: 1.08rem;
            font-weight: 500;
        }

        /* Right Column: Course Details */
        .wsc_course-details .wsc_category {
            font-weight: 600;
            color: var(--wsc-primary-color);
        }
        .wsc_course-details h1 {
            font-size: 2.5rem;
            margin: 0.5rem 0 1rem 0;
        }
        .wsc_course-details .wsc_description {
            font-size: 1.32rem;
            color: var(--wsc-light-text-color);
            margin-bottom: 2rem;
        }
        .wsc_price {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 2rem;
        }

        /* === Schedule Section (UPDATED) === */
        .wsc_schedule {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .wsc_schedule li {
            /*background-color: var(--wsc-bg-color); 
            border: 1px solid var(--wsc-border-color);*/
            border-radius: 10px;
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .wsc_schedule .wsc_session-number {
            font-size: 0.96rem;
            font-weight: 600;
            color: var(--wsc-light-text-color);
            flex-shrink: 0;
        }
        .wsc_schedule .wsc_session-datetime {
            flex-shrink: 0;
            padding-right: 1rem;
            margin-right: 1rem;
            border-right: 1px solid var(--wsc-border-color);
        }
        .wsc_schedule .wsc_session-datetime strong {
            display: block;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--wsc-text-color);
        }
        .wsc_schedule .wsc_session-datetime span {
            font-size: 1.08rem;
            color: var(--wsc-light-text-color);
        }
        .wsc_schedule .wsc_session-description {
            font-size: 1.2rem;
            color: var(--wsc-text-color);
            margin: 0;
            flex-grow: 1;
        }

        .wsc_enroll-btn {
	        letter-spacing: 0;
            display: block;
            width: 100%;
            text-align: center;
            padding: 1rem;
            background-color: var(--wsc-accent-color);
            color: var(--wsc-text-color);
            font-size: 1.32rem;
            font-weight: 600;
            border-radius: 10px;
            margin-top: 2rem;
            border: none;
            transition: background-color 0.2s ease;
        }
        .wsc_enroll-btn:hover {
            background-color: #eab106;
        }

        /* Instructor & Reviews Section */
        .wsc_instructor-section, .wsc_reviews-section {
            background-color: var(--wsc-card-bg);
            border-radius: 5px;;
            padding: 2.5rem;
            margin-top: 2.5rem;
        }
        .wsc_instructor-info {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }
        .wsc_instructor-info .wsc_avatar img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
        }
        .wsc_instructor-info h3 {
            margin: 0 0 0.25rem 0;
            font-size: 1.5rem;
        }
        .wsc_instructor-info p {
            margin: 0;
            color: var(--wsc-light-text-color);
        }
        
        .wsc_reviews-section h2 {
            font-size: 1.8rem;
            margin: 0 0 2rem 0;
        }
        .wsc_reviews-section .wsc_star {
            color: var(--wsc-accent-color);
            margin-right: 0.5rem;
        }
        .wsc_review-item {
            display: flex;
            gap: 1rem;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--wsc-border-color);
        }
        .wsc_review-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .wsc_review-item .wsc_avatar img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
        }
        .wsc_review-item h4 { font-size: 1rem; margin: 0; }
        .wsc_review-item .wsc_date { font-size: 1.02rem; color: var(--wsc-light-text-color); margin-left: 0.5rem; }
        .wsc_review-item p { margin: 0.25rem 0 0 0; color: #555; }

        /* Footer */
        .wsc_main-footer { background-color: var(--wsc-primary-color); color: white; }
        .wsc_footer-content { padding: 4rem 1.5rem; }
        .wsc_footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
        .wsc_footer-col h4 { color: white; margin-bottom: 1.5rem; }
        .wsc_footer-col p, .wsc_footer-col a { color: #eee; text-decoration: none; }
        .wsc_footer-col ul { list-style: none; padding: 0; margin: 0; }
        .wsc_footer-col li { margin-bottom: 0.8rem; }
        .wsc_footer-bottom { 
            display: flex; justify-content: space-between; align-items: center;
            padding: 2rem 0 0 0; margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.2); 
        }
        .wsc_social-icons a { margin-left: 1rem; color: white; font-size: 1.8rem; }

		.slc_container {
            max-width: var(--slc-container-width);
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }
        
        
        /* === Course Detail Layout === */
        .slc_course-layout {
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 2.5rem;
            align-items: start;
        }
        
        /* Left Column: Promo Card */
        .slc_promo-card {
            border-radius: var(--slc-border-radius);
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            position: sticky;
            top: 2rem;
        }
        .slc_promo-card img {
            width: 100%;
        }
        .slc_promo-card-content {
            background-color: var(--slc-card-bg);
            padding: 1.5rem;
        }
        .slc_promo-card-content h3 {
            margin: 0;
            font-size: 1.5rem;
            line-height: 1.4;
            font-weight: 600;
        }

        /* Right Column: Course Details */
        .slc_course-details .slc_category {
            font-weight: 600;
            color: var(--slc-primary-color);
            margin-bottom: 0.5rem;
            display: block;
        }
        .slc_course-details h1 {
            font-size: 2.2rem;
            margin: 0 0 1rem 0;
        }
        .slc_course-details .slc_description {
            font-size: 1.32rem;
            color: var(--slc-light-text-color);
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--slc-border-color);
        }
        .slc_curriculum h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        .slc_curriculum-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .slc_curriculum-item {
            display: flex;
            align-items: center;
            padding: 1rem 0;
            border-bottom: 1px solid var(--slc-border-color);
        }
        .slc_curriculum-item:last-child {
            border-bottom: none;
        }
        .slc_item-title {
            flex-grow: 1;
            font-weight: 500;
        }
        .slc_item-duration {
            flex-shrink: 0;
            margin-right: 1.5rem;
            color: var(--slc-light-text-color);
        }
        .slc_item-icons {
            display: flex;
            gap: 0.75rem;
            flex-shrink: 0;
        }
        .slc_item-icons .slc_icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.08rem;
            color: white;
        }
        .slc_icon-play { background-color: #4CAF50; }
        .slc_icon-check { background-color: #2196F3; }
        .slc_icon-q { background-color: #FF9800; }

        .slc_enroll-btn {
            display: block;
            width: 100%;
            text-align: center;
            padding: 1rem;
            background-color: var(--slc-accent-color);
            color: var(--slc-text-color);
            font-size: 1.32rem;
            font-weight: 600;
            border-radius: 10px;
            margin-top: 2.5rem;
            border: none;
            text-decoration: none;
        }
        
        /* Reviews & Related Courses */
        .slc_reviews-section, .slc_related-courses {
            background-color: var(--slc-card-bg);
            border-radius: var(--slc-border-radius);
            padding: 2.5rem;
            margin-top: 2.5rem;
        }
        .slc_reviews-section h2, .slc_related-courses h2 {
            font-size: 1.8rem;
            margin: 0 0 2rem 0;
        }
        .slc_reviews-section .slc_star { color: var(--slc-accent-color); margin-right: 0.5rem; }
        
        .slc_review-item {
            display: flex; gap: 1rem; padding: 1.5rem 0;
            border-bottom: 1px solid var(--slc-border-color);
        }
        .slc_review-item:last-child { border-bottom: none; padding-bottom: 0; }
        .slc_review-item .slc_avatar img { width: 50px; height: 50px; border-radius: 50%; }
        .slc_review-item h4 { font-size: 1rem; margin: 0; }
        .slc_review-item .slc_date { font-size: 1.02rem; color: var(--slc-light-text-color); margin-left: 0.5rem; }
        .slc_review-item p { margin: 0.25rem 0 0 0; color: #555; }
        
        .slc_course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
        .slc_course-card {
            border: 1px solid var(--slc-border-color);
            border-radius: var(--slc-border-radius);
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .slc_course-card .slc_card-banner img { width: 100%; height: 180px; object-fit: cover; }
        .slc_card-body { padding: 1rem 1.5rem; }
        .slc_card-tag { font-size: 0.96rem; color: var(--slc-light-text-color); margin-bottom: 0.5rem; display: block; }
        .slc_card-body h4 { font-size: 1.25rem; margin: 0; line-height: 1.4; }
        .slc_card-footer { 
            padding: 1rem 1.5rem; border-top: 1px solid var(--slc-border-color);
            display: flex; justify-content: space-between; align-items: center;
        }
        .slc_author { font-size: 1.08rem; color: var(--slc-light-text-color); }
        .slc_btn-price {
            background-color: var(--slc-accent-color); color: var(--slc-text-color);
            padding: 0.5rem 1rem; border-radius: 8px; font-size: 1.08rem;
            font-weight: 600; text-decoration: none;
        }

        /* Footer */
        .slc_main-footer { background-color: var(--slc-primary-color); color: white; }
        .slc_footer-content { padding: 4rem 1.5rem; }
        .slc_footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
        .slc_footer-col h4 { color: white; margin-bottom: 1.5rem; }
        .slc_footer-col p, .slc_footer-col a { color: #eee; text-decoration: none; }
        .slc_footer-col ul { list-style: none; padding: 0; margin: 0; }
        .slc_footer-col li { margin-bottom: 0.8rem; }
        .slc_footer-bottom { 
            display: flex; justify-content: space-between; align-items: center;
            padding: 2rem 0 0 0; margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.2); 
        }
        .slc_social-icons a { margin-left: 1rem; color: white; font-size: 1.8rem; }

		.slv_container {
            max-width: var(--slv-container-width);
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }
         /* === Main Content === */
        .slv_page-title {
            font-size: 2.2rem;
            font-weight: 600;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .slv_video-player {
            position: relative;
            border-radius: var(--slv-border-radius);
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 2.5rem;
        }
        .slv_video-player img {
            width: 100%;
            display: block;
        }
        .slv_play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3.0rem;
            color: var(--slv-primary-color);
            cursor: pointer;
            transition: transform 0.2s ease;
        }
        .slv_play-button:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }
        .slv_play-button::before { content: '▶'; }
        
        /* UPDATED: 2-Column Layout */
        .slv_course-content-layout {
            display: grid;
            grid-template-columns: 1fr 2.5fr; /* Left column smaller, right column much wider */
            gap: 2.5rem;
            align-items: start;
        }
        .slv_left-column h2 {
            font-size: 1.8rem;
            margin: 0;
            position: sticky; /* Make title sticky */
            top: 2rem;
        }
        
        /* === Curriculum Section (Playlist) === */
        .slv_curriculum {
            background-color: var(--slv-card-bg);
            border-radius: var(--slv-border-radius);
            padding: 2.5rem;
            box-shadow: 0 5px 25px rgba(0,0,0,0.05);
        }
        .slv_curriculum h2 {
            font-size: 1.8rem;
            margin: 0 0 1.5rem 0;
        }
        .slv_curriculum-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .slv_list-header, .slv_list-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1rem;
            border-bottom: 1px solid var(--slv-border-color);
        }
        .slv_curriculum-list > *:last-child {
             border-bottom: none;
        }
        
        .slv_list-header {
            font-weight: 600;
            color: var(--slv-text-color);
        }

        .slv_list-item {
            cursor: pointer;
            transition: background-color 0.2s ease;
        }
        .slv_list-item.active {
            background-color: var(--slv-light-green-bg);
            border-radius: 10px;
        }
        .slv_item-title {
            flex-grow: 1;
            font-weight: 500;
        }
        .slv_item-meta {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-shrink: 0;
        }
        .slv_item-duration {
            color: var(--slv-light-text-color);
            font-size: 1.08rem;
        }
        .slv_item-status {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .slv_item-status svg {
            width: 16px;
            height: 16px;
        }
        .slv_status-complete {
            background-color: var(--slv-primary-color);
        }
        .slv_status-playing {
            background-color: var(--slv-primary-color);
        }
        .slv_status-pending {
            border: 2px solid var(--slv-border-color);
        }
        .slv_header-icon {
            width: 24px;
            height: 24px;
        }

        /* === Footer === */
        .slv_main-footer { background-color: var(--slv-primary-color); color: white; margin-top: 4rem; }
        .slv_footer-content { padding: 4rem 1.5rem; }
        .slv_footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
        .slv_footer-col h4 { color: white; margin-bottom: 1.5rem; }
        .slv_footer-col p, .slv_footer-col a { color: #eee; text-decoration: none; }
        .slv_footer-col ul { list-style: none; padding: 0; margin: 0; }
        .slv_footer-col li { margin-bottom: 0.8rem; }
        .slv_footer-bottom { 
            display: flex; justify-content: space-between; align-items: center;
            padding: 2rem 0 0 0; margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.2); 
        }
        .slv_social-icons a { margin-left: 1rem; color: white; font-size: 1.8rem; }
        
        
        
        .frm_container {
            max-width: var(--frm-container-width);
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }
        
        /* === Form Card === */
        .frm_form-card {
            background-color: var(--frm-card-bg);
            padding: 3rem;
            box-shadow: 0 5px 25px rgba(0,0,0,0.05);
        }
        .frm_form-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        .frm_form-header .frm_category {
            font-weight: 600;
            color: var(--frm-primary-color);
        }
        .frm_form-header h1 {
            font-size: 2.5rem;
            margin: 0.5rem 0 0 0;
        }

        /* Form Group Styling */
        .frm_form-group {
            margin-bottom: 2.5rem;
        }
        .frm_form-group label, .frm_form-group .frm_label {
            display: block;
            font-size: 1.32rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        .frm_form-group .frm_label span { color: #E53935; } /* Red asterisk */

        /* Input and Textarea */
        .frm_input, .frm_textarea {
            width: 100%;
            padding: 1rem 1.5rem;
            border: 1px solid var(--frm-border-color);
            border-radius: var(--frm-border-radius);
            font-size: 1.2rem;
            font-family: inherit;
            box-sizing: border-box;
            transition: border-color 0.2s ease;
        }
        .frm_input:focus, .frm_textarea:focus {
            outline: none;
            border-color: var(--frm-primary-color);
        }
        .frm_textarea {
            min-height: 120px;
            resize: vertical;
        }

        /* Custom Radio Tags (UPDATED) */
        .frm_tag-options {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .frm_tag-options input[type="radio"] {
            display: none;
        }
        .frm_tag-options label {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border: 2px solid var(--frm-border-color);
            background-color: var(--frm-card-bg); /* Default white background */
            color: var(--frm-text-color); /* Default text color */
            border-radius: 50px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        .frm_tag-options input[type="radio"]:checked + label {
            border-color: var(--frm-primary-color);
            background-color: var(--frm-primary-color); /* Full background color */
            color: white; /* White text */
        }

        /* Custom Checkbox Cards (UPDATED) */
        .frm_icon-options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
        }
        .frm_icon-options-grid input[type="checkbox"] {
            display: none;
        }
        .frm_icon-options-grid label {
            border: 2px solid var(--frm-border-color);
            background-color: var(--frm-card-bg); /* Default white background */
            color: var(--frm-text-color); /* Default text color */
            border-radius: var(--frm-border-radius);
            padding: 1.5rem 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            height: 100%;
            box-sizing: border-box;
        }
        .frm_icon-options-grid input[type="checkbox"]:checked + label {
            border-color: var(--frm-primary-color);
            background-color: var(--frm-primary-color); /* Full background color */
            color: white; /* White text */
        }
        .frm_icon-options-grid img {
            max-height: 48px;
            /* เพิ่ม filter เพื่อเปลี่ยนสี icon เมื่อ active ถ้า icon เป็น svg */
            /* filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); */
            /* ถ้า icon เป็น png สีเขียว อาจจะต้องเปลี่ยนเป็นรูปอื่น หรือใช้ css filter ที่ซับซ้อนขึ้น */
        }
        .frm_icon-options-grid input[type="checkbox"]:checked + label img {
            /* ตัวอย่างการเปลี่ยนสี icon เมื่อ active (ถ้า icon เป็น svg) */
            filter: brightness(0) invert(1); /* เปลี่ยนไอคอนสีเขียวเป็นสีขาว */
        }

        /* Custom Rating Scale */
        .frm_rating-scale {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .frm_rating-scale input[type="radio"] {
            display: none;
        }
        .frm_rating-scale label {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            text-align: center;
        }
        .frm_rating-scale .frm_rating-circle {
            width: 50px;
            height: 50px;
            border: 2px solid var(--frm-border-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.44rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: all 0.2s ease;
        }
        .frm_rating-scale .frm_rating-label {
             color: var(--frm-light-text-color);
        }
        .frm_rating-scale input[type="radio"]:checked + .frm_rating-circle {
            background-color: var(--frm-primary-color);
            border-color: var(--frm-primary-color);
            color: white;
        }
        .frm_rating-scale input[type="radio"]:checked ~ .frm_rating-label {
             color: var(--frm-text-color);
        }
        
        .frm_submit-btn {
            width: 100%;
            padding: 1rem;
            border: none;
            background-color: var(--frm-accent-color);
            color: var(--frm-text-color);
            font-size: 1.44rem;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            margin-top: 1rem;
        }
        
        /* Footer */
        .frm_main-footer { background-color: var(--frm-primary-color); color: white; }
        .frm_footer-content { padding: 4rem 1.5rem; }
        .frm_footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
        .frm_footer-col h4 { color: white; margin-bottom: 1.5rem; }
        .frm_footer-col p, .frm_footer-col a { color: #eee; text-decoration: none; }
        .frm_footer-col ul { list-style: none; padding: 0; margin: 0; }
        .frm_footer-col li { margin-bottom: 0.8rem; }
        .frm_footer-bottom { 
            display: flex; justify-content: space-between; align-items: center;
            padding: 2rem 0 0 0; margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.2); 
        }
        .frm_social-icons a { margin-left: 1rem; color: white; font-size: 1.8rem; }
        
        
        .opw-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        .opw-header {
            background-color: var(--opw-primary-color);
            padding: 15px 0;
            color: white;
        }

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

        .opw-logo {
            height: 40px;
        }

        .opw-nav {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .opw-nav-links {
            display: none; /* Hidden on mobile */
        }
        
        @media (min-width: 992px) {
            .opw-nav-links {
                display: flex;
                gap: 30px;
            }
        }

        .opw-nav-links a {
            text-decoration: none;
            color: white;
            font-weight: 500;
        }

        .opw-nav-buttons a {
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 20px;
            font-weight: 500;
            border: 1px solid white;
            transition: all 0.3s ease;
        }

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

        .opw-register-btn {
            background-color: var(--opw-secondary-color);
            border-color: var(--opw-secondary-color);
            color: #333;
        }

        /* Main Content and Payment Card */
        .opw-main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 50px 20px;
        }

        .opw-payment-card {
            background-color: #fff;
            padding: 30px 40px;
            border-radius: 12px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
            width: 100%;
            max-width: 550px;
            text-align: center;
        }
        
        .opw-payment-card h1, .opw-payment-card h2 {
            font-size: 26px;
            margin-bottom: 30px;
            color: #222;
        }

        .opw-payment-card .opw-success-icon {
            width: 60px;
            height: 60px;
            background-color: var(--opw-primary-color);
            border-radius: 50%;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            color: #fff;
            font-size: 38px;
        }
        
        .opw-info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid var(--opw-border-color);
            text-align: left;
        }
        
        .opw-info-row:first-of-type {
            padding-top: 0;
        }

        .opw-info-row .opw-label {
            color: #666;
        }

        .opw-info-row .opw-value {
            font-weight: 700;
        }
        
        .opw-info-row .opw-discount {
            color: var(--opw-discount-color);
            font-weight: 700;
        }

        .opw-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 0;
            font-size: 24px;
            font-weight: 700;
        }
        
        .opw-total-row .opw-original-price {
            text-decoration: line-through;
            color: #aaa;
            font-weight: 400;
            margin-right: 10px;
        }

        .opw-points-section {
            display: flex;
            gap: 10px;
            margin: 25px 0;
        }

        .opw-points-input {
            flex-grow: 1;
            padding: 12px;
            border: 1px solid var(--opw-border-color);
            border-radius: 8px;
            font-family: 'Sarabun', sans-serif;
            font-size: 19.2px;
        }
        
        .opw-points-input:focus {
            outline: none;
            border-color: var(--opw-primary-color);
        }
        
        .opw-points-confirm-btn {
             padding: 12px 20px;
        }

        .opw-points-info {
            text-align: left;
            margin-bottom: 25px;
            color: #777;
        }

        .opw-btn {
            width: 100%;
            padding: 15px;
            border: none;
            border-radius: 8px;
            background-color: var(--opw-secondary-color);
            color: #333;
            font-size: 21.6px;
            font-family: 'Sarabun', sans-serif;
            font-weight: 700;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s;
        }
        
        .opw-btn:hover {
            background-color: #f0b90b;
        }
        
        .opw-btn-secondary {
            background: none;
            color: #777;
            margin-top: 15px;
            text-decoration: none;
            display: inline-block;
        }
        .opw-btn-secondary:hover {
            text-decoration: underline;
        }

        .opw-qr-code-display {
            padding: 20px;
            /*border: 1px solid var(--opw-border-color);*/
            border-radius: 8px;
        }
        
        #opw-qr-code-container img {
            /*max-width: 200px;*/
            margin: 20px auto;
            display: block;
            border-radius:15px;
            border: 1px solid var(--opw-border-color);
        }
        
        .opw-promptpay-header {
             display: flex;
             align-items: center;
             justify-content: center;
             gap: 10px;
             padding: 15px;
             background-color: #1a237e; /* Dark blue from image */
             color: white;
             border-radius: 6px 6px 0 0;
             font-weight: bold;
        }
        
        .opw-timer-info {
            color: #777;
            font-size: 16.8px;
            margin-top: 20px;
        }
        
        /* Footer Styles */
        .opw-footer {
            background-color: var(--opw-primary-color);
            color: #eafaf1;
            padding: 50px 0 0;
        }
        
        .opw-footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
        }
        
        .opw-footer-col {
            flex: 1 1 220px;
        }
        
        .opw-footer-col h4 {
            margin-bottom: 20px;
            font-weight: 700;
            color: white;
        }
        
        .opw-footer-col p, .opw-footer-col a {
            color: #eafaf1;
            text-decoration: none;
            line-height: 1.9;
            font-size: 18px;
        }
        
        .opw-footer-col a:hover {
            color: white;
            text-decoration: underline;
        }
        
        .opw-copyright {
            text-align: center;
            padding: 25px 0;
            margin-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 16.8px;
        }
        
        /* Utility class to hide steps */
        .opw-hidden {
            display: none;
        }
        
        
        
        .qn-form-wrapper {
            max-width: 800px;
            margin: 0 auto;
            padding: 30px;
            border-radius: 8px;
            background-color: #fff;
        }

        .qn-form-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .qn-form-header p {
            color: var(--primary-green);
            font-weight: bold;
            margin: 0;
        }

        .qn-form-header h1 {
            margin: 5px 0 0;
            color: var(--text-dark);
        }

        .qn-form-group {
            margin-bottom: 25px;
        }

        .qn-form-group > label {
            display: block;
            font-weight: 500;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        input[type="text"],
        textarea,
        select {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 19.2px;
            font-family: inherit;
            box-sizing: border-box;
        }

        textarea {
            resize: vertical;
        }

        /* --- Radio Pills Styling --- */
        .qn-radio-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .qn-radio-pills input[type="radio"] {
            display: none;
        }

        .qn-radio-pills label {
            display: inline-block;
            padding: 10px 20px;
            border: 1px solid var(--primary-green);
            border-radius: 25px;
            cursor: pointer;
            color: var(--primary-green);
            font-weight: 500;
            transition: all 0.2s ease-in-out;
        }

        .qn-radio-pills input[type="radio"]:checked + label {
            background-color: var(--primary-green);
            color: white;
            border-color: var(--primary-green);
        }

        /* --- Channel Grid Styling --- */
        .qn-channel-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 20px;
            justify-items: center;
        }

        .qn-channel-item {
            position: relative;
        }

        .qn-channel-item input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .qn-channel-item label {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            text-align: center;
            padding: 5px;
        }

        .qn-channel-item__circle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 80px;
            height: 80px;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            transition: all 0.2s ease;
            margin-bottom: 10px;
        }

        .qn-channel-item__circle span {
            font-size: 3.0rem;
        }

        .qn-channel-item__text {
            font-weight: 500;
            font-size: 16.8px;
            color: var(--text-dark);
            transition: color 0.2s ease;
        }

        .qn-channel-item input[type="checkbox"]:checked + label .qn-channel-item__circle {
            border-color: var(--primary-green);
            background-color: #e6f6f5;
            box-shadow: 0 0 8px rgba(0, 169, 157, 0.4);
        }

        .qn-channel-item input[type="checkbox"]:checked + label .qn-channel-item__text {
            color: var(--primary-green);
        }

        /* --- Form Actions --- */
        .qn-form-actions {
            text-align: center;
            margin-top: 40px;
        }

        .qn-btn--submit {
            background-color: var(--primary-yellow);
            color: var(--text-dark);
            font-size: 21.6px;
            font-weight: bold;
            padding: 15px 60px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .qn-btn--submit:hover {
            background-color: #f0c300;
        }

        /* --- Footer --- */
        .qn-footer {
            background-color: var(--primary-green);
            color: white;
            padding: 40px 0;
        }

        .qn-footer .qn-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .qn-footer__col {
            flex: 1;
            min-width: 200px;
        }

        .qn-footer__col h4 {
            margin-top: 0;
            border-bottom: 2px solid var(--primary-yellow);
            padding-bottom: 10px;
            display: inline-block;
        }

        .qn-footer__col p,
        .qn-footer__col a {
            color: white;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
        }
        .qn-footer__col a:hover {
            text-decoration: underline;
        }

        .qn-footer__col img {
            filter: brightness(0) invert(1);
            margin-bottom: 15px;
        }

        .qn-footer__socials span {
            display: inline-block;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: white;
            color: var(--primary-green);
            text-align: center;
            line-height: 30px;
            margin-right: 10px;
            font-weight: bold;
        }
        
        /* Header styles */
        .user-profile-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background-color: #fff;
            border-bottom: 1px solid var(--user-profile-border-color);
        }
        .user-profile-header .user-profile-logo { 
            font-weight: 700; 
            color: var(--primary-green, #00A99D); 
            font-size: 1.8rem;
            text-decoration: none;
        }
        .user-profile-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
        .user-profile-header nav a { color: #333; font-weight: 500; text-decoration: none; }
        .user-profile-header .user-profile-header-buttons { display: flex; align-items: center; gap: 0.75rem; }
        .user-profile-btn-login {
            padding: 8px 24px;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #d0d0d0;
            color: #555;
            background-color: transparent;
            transition: all 0.2s;
        }
        .user-profile-btn-login:hover { background-color: #f5f5f5; }
        .user-profile-btn-register {
             padding: 9px 25px;
             border-radius: 25px;
             font-weight: 600;
             text-decoration: none;
             border: none;
             color: #333;
             background-color: var(--primary-yellow, #FFD100);
             transition: all 0.2s;
        }
        .user-profile-btn-register:hover { background-color: #eab106; }


        /* Profile Layout */
        .user-profile-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1.5rem;
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            align-items: flex-start;
        }

        /* --- Left Sidebar --- */
        .user-profile-sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .user-profile-sidebar-card {
            background-color: #fff;
            border: 1px solid var(--user-profile-border-color);
            border-radius: 8px;
            padding: 1.5rem;
        }

        .user-profile-avatar-wrapper {
            position: relative;
            width: 150px;
            height: 150px;
            margin: 0 auto 1rem;
        }
        
        .user-profile-avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .user-profile-edit-avatar-btn {
            position: absolute;
            bottom: 5px;
            right: 5px;
            width: 36px;
            height: 36px;
            background-color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-green, #00A99D);
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            cursor: pointer;
            border: 1px solid #eee;
            font-size: 1.08rem;
        }

        .user-profile-edit-link {
            display: block;
            text-align: center;
            text-decoration: none;
            color: var(--primary-green, #00A99D);
            font-weight: 600;
            cursor: pointer;
        }
        .user-profile-edit-link i {
            margin-right: 0.5rem;
        }
        
        .user-profile-sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
        .user-profile-sidebar-nav a {
            display: block;
            padding: 0.8rem 0;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            border-bottom: 1px solid var(--user-profile-border-color);
            transition: all 0.2s ease;
            cursor: pointer;
            font-size: 1.2rem;
            
        }
        .user-profile-sidebar-nav li:last-child a { border-bottom: none; }
        .user-profile-sidebar-nav a:hover { color: var(--primary-green, #00A99D); }
        .user-profile-sidebar-nav a.active {
            font-weight: 700;
        }

        /* --- Right Content Area --- */
        .user-profile-content {
            background-color: #fff;
            border: 1px solid var(--user-profile-border-color);
            border-radius: 8px;
            padding: 2.5rem;
            min-height: 500px;
        }
        
        .user-profile-view { display: none; }
        .user-profile-view.active { display: block; animation: fadeIn 0.5s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* --- View: Profile Info --- */
        .user-profile-content-header h1 {
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0 0 0.25rem 0;
        }
        .user-profile-content-header h1 .fa-check-circle {
            color: var(--primary-green, #00A99D);
            font-size: 1.2rem;
            vertical-align: middle;
        }
        .user-profile-content-header .user-profile-classroom {
            font-size: 1.32rem;
            color: var(--user-profile-text-secondary);
            margin: 0;
            font-weight: 500;
        }
        
        .user-profile-section {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--user-profile-border-color);
        }

        .user-profile-section h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-top: 0;
            margin-bottom: 1rem;
        }
        .user-profile-section p { color: #555; line-height: 1.7; margin-top: 0; }
        .user-profile-social-links a {
            color: #333;
            font-size: 1.75rem;
            margin-right: 1.5rem;
            text-decoration: none;
        }
        
        /* Tabs */
        .user-profile-tabs-nav {
            display: flex;
            border-bottom: 2px solid var(--user-profile-border-color);
            margin-bottom: 1rem;
        }
        .user-profile-tab-link {
            padding-bottom: 1rem;
            margin-right: 2.5rem;
            border: none; background: none; font-size: 1.2rem;
            font-weight: 600; color: #666; cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.2s ease;
            font-family: 'Sarabun', sans-serif;
        }
        .user-profile-tab-link.active {
            color: var(--primary-green, #00A99D);
            border-bottom-color: var(--primary-green, #00A99D);
        }
        .user-profile-tab-content { display: none; }
        .user-profile-tab-content.active { display: block; }
        

        /* Course List (Student) */
        .user-profile-course-list .user-profile-course-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
            border-bottom: 1px solid var(--user-profile-border-color);
        }
        .user-profile-course-list .user-profile-course-item:last-child { border-bottom: none; }
        .user-profile-course-item .user-profile-course-title { font-weight: 600; margin: 0; color: #333; font-size: 1rem; letter-spacing: 0; }
        .user-profile-download-btn {
            white-space: nowrap;
            padding: 8px 20px;
            border: 1px solid var(--primary-green, #00A99D);
            color: var(--primary-green, #00A99D);
            background-color: #f0faf9;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            font-size: 1.08rem;
            transition: all 0.2s ease;
            margin-left: 1rem;
        }
        .user-profile-download-btn:hover {
            background-color: var(--primary-green, #00A99D);
            color: #fff;
        }

        /* --- View: Instructor Classroom --- */
        .user-profile-content-title-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        .user-profile-content-title-bar h3 {
            margin: 0;
            font-size: 1.5rem;
        }
        .user-profile-create-class-btn {
            background-color: #F59E0B; /* Orange */
            color: #fff;
            padding: 0.6rem 1.5rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        .user-profile-create-class-btn:hover { background-color: #D97706; }
        
        .user-profile-instructor-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        .user-profile-instructor-card {
            border: 1px solid var(--user-profile-border-color);
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
        }
        .user-profile-instructor-card-banner {
            position: relative;
        }
        .user-profile-instructor-card-banner img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .user-profile-instructor-card-banner-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(0,0,0,0.5);
            color: #fff;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.9rem;
        }
         .user-profile-instructor-card-banner-tag.date {
            left: auto;
            right: 10px;
            background-color: #fff;
            color: #333;
        }

        .user-profile-instructor-card-body {
            padding: 1rem;
            flex-grow: 1;
        }
        .user-profile-instructor-card-body h4 {
            margin: 0 0 1rem 0;
            font-size: 1.1rem;
            font-weight: 600;
        }
        .user-profile-card-section {
            margin-bottom: 1rem;
        }
        .user-profile-card-section .label {
            font-size: 0.96rem;
            font-weight: 600;
            color: var(--user-profile-text-secondary);
        }
        .user-profile-card-section .value {
            font-size: 1.08rem;
        }
        .user-profile-instructor-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem;
            border-top: 1px solid var(--user-profile-border-color);
        }
        .user-profile-instructor-author img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
        }
        .user-profile-instructor-card-actions {
            display: flex;
            gap: 0.5rem;
            padding: 0 1rem 1rem;
        }
        .user-profile-card-btn {
            flex: 1;
            padding: 8px;
            text-align: center;
            text-decoration: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 1.08rem;
            transition: all 0.2s;
        }
        .user-profile-card-btn.details {
            background-color: var(--primary-yellow, #FFD100);
            color: #333;
        }
        .user-profile-card-btn.enter {
            background-color: transparent;
            color: #555;
            border: 1px solid #ccc;
        }

        /* --- View: Edit Profile Form --- */
        .user-profile-edit-form-container {
            margin-top: 2rem;
            border-top: 1px solid var(--user-profile-border-color);
            padding-top: 2rem;
        }
        .user-profile-edit-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        .user-profile-edit-form-social-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        .user-profile-edit-form-group {
            margin-bottom: 1.5rem;
        }
        .user-profile-edit-form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1rem; letter-spacing: 0;
        }
        .user-profile-edit-form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 1.2rem;
            font-family: 'Sarabun', sans-serif;
            box-sizing: border-box;
        }
        .user-profile-edit-form-input::placeholder {
            color: #adb5bd;
        }
        .user-profile-edit-form-input:focus {
            outline: none;
            border-color: var(--primary-green, #00A99D);
            box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.25);
        }
        .user-profile-edit-form-action {
            text-align: center;
            margin-top: 2rem;
        }
        .user-profile-edit-form-submit-btn {
            background-color: var(--primary-yellow, #FFD100);
            color: #333;
            border: none;
            padding: 0.75rem 4rem;
            border-radius: 25px;
            font-size: 1.32rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .user-profile-edit-form-submit-btn:hover {
            background-color: #eab106;
        }
        
        /* --- Responsive Adjustments --- */
        @media (max-width: 1200px) {
            .user-profile-instructor-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 992px) {
            .user-profile-container { grid-template-columns: 1fr; }
        }
        @media (max-width: 768px) {
            .user-profile-content { padding: 1.5rem; }
            .user-profile-course-list .user-profile-course-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
            .user-profile-download-btn { margin-left: 0; }
            .user-profile-header nav { display: none; }
             .user-profile-instructor-grid {
                grid-template-columns: 1fr;
            }
            .user-profile-edit-form-grid, .user-profile-edit-form-social-grid {
                grid-template-columns: 1fr;
            }
        }

        /* --- Responsive Adjustments --- */
        @media (max-width: 768px) {
            .qn-header .qn-container {
                flex-direction: column;
                gap: 10px;
            }
            
            .qn-header__nav {
                border-top: 1px solid rgba(255,255,255,0.2);
                border-bottom: 1px solid rgba(255,255,255,0.2);
                padding: 10px 0;
                width: 100%;
                text-align: center;
            }

            .qn-form-wrapper {
                padding: 20px;
            }
            
            .qn-radio-pills label {
                padding: 8px 15px;
                width: 100%;
                text-align: center;
                box-sizing: border-box;
            }
            
            .qn-footer .qn-container {
                flex-direction: column;
            }


        /* Responsive */
        @media (max-width: 768px) {
            .frm_form-card { padding: 1.5rem; }
            .frm_form-header h1 { font-size: 1.8rem; }
            .frm_icon-options-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
            .frm_rating-scale .frm_rating-circle { width: 40px; height: 40px; font-size: 1rem; }
            .frm_rating-scale .frm_rating-label { font-size: 0.96rem; }
        }

        
        /* Responsive */
        @media(max-width: 992px) {
            .slv_course-content-layout {
                grid-template-columns: 1fr; /* Stack columns */
            }
            .slv_left-column h2 {
                position: static; /* Un-stick the title */
                margin-bottom: 1.5rem;
            }
        }
        @media(max-width: 768px) {
            .slv_nav-links { display: none; }
            .slv_page-title { font-size: 1.8rem; }
            .slv_curriculum { padding: 1.5rem; }
            .slv_list-item, .slv_list-header { padding-left: 0; padding-right: 0; }
            .slv_item-duration { display: none; }
        }
        /* Responsive */
        @media (max-width: 992px) {
            .slc_course-layout { grid-template-columns: 1fr; }
            .slc_promo-card { position: static; }
        }
        @media (max-width: 768px) {
            .slc_nav-links { display: none; }
            .slc_course-details h1 { font-size: 1.8rem; }
        }


        /* Responsive */
        @media (max-width: 992px) {
            .wsc_course-layout {
                grid-template-columns: 1fr;
            }
            .wsc_promo-card {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .wsc_nav-links { display: none; }
            .wsc_course-layout { gap: 1.5rem; }
            .wsc_promo-card, .wsc_instructor-section, .wsc_reviews-section { padding: 1.5rem; }
            .wsc_course-details h1 { font-size: 2rem; }
            .wsc_price { font-size: 2rem; }
            .wsc_schedule li { flex-wrap: wrap; } /* Allow wrapping on small screens */
            .wsc_instructor-info { flex-direction: column; text-align: center; }
        }   

 /* Responsive */
        @media(max-width: 992px) {
            .sml_footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media(max-width: 768px) {
            .sml_nav-links { display: none; }
            .sml_page-header { padding: 2rem 1.5rem; }
            .sml_page-header h1, .sml_courses-section h2 { font-size: 2rem; }
            .sml_footer-grid { grid-template-columns: 1fr; }
            .sml_footer-bottom { flex-direction: column; gap: 1rem; }
            .sml_search-form { flex-direction: column; gap: 0.5rem; }
        }


        /* === Responsive Styles === */
        /* === Responsive Styles === */
        @media (max-width: 992px) {
            .sc-hero .slide-container, .sc-services .content-wrapper, .sc-testimonial .testimonial-container { 
                flex-direction: column; text-align: center; padding-left: 1rem; padding-right: 1rem;
            }
            .sc-hero .slide-text, .sc-services .services-list, .sc-testimonial .testimonial-text { margin-bottom: 2rem; }
            .sc-hero h1 { font-size: 2.8rem; }
            .sc-filters { grid-template-columns: 1fr; }
            .sc-contact form { flex-direction: column; align-items: center; }
            .sc-contact input[type="email"] { max-width: 80%; }
            .sc-footer-grid { text-align: center; }
            .sc-footer-bottom { flex-direction: column; gap: 1.5rem; }
        }
        @media (max-width: 768px) {
            .sc-header nav { display: none; }
            .sc-hero h1 { font-size: 2.2rem; } .sc-hero p { font-size: 1.2rem; }
            .sc-hero .slide-buttons .sc-btn { padding: 10px 20px; font-size: 1.08rem; border-radius: 20px; letter-spacing: 0; }
            .sc-content-title, .sc-services h2, .sc-testimonial h2, .sc-contact h2 { font-size: 2rem; }
            .sc-content-area { padding: 1.5rem; }
            .sc-services li { font-size: 1.2rem; text-align: left; }
            .sc-testimonial h3 { text-align: center; }
        }
        @media (max-width: 480px) {
            .sc-hero .slide-buttons { display: flex; flex-direction: column; gap: 10px; letter-spacing: 0;}
            .sc-hero .slide-buttons .sc-btn { margin-right: 0; width: 100%; box-sizing: border-box; letter-spacing: 0;}
            .sc-filter-btn { padding: 1rem; }
            .sc-filter-btn h3 { font-size: 1.1rem; }
            .sc-filter-btn p { font-size: 0.96rem; }
            .sc-content-title { font-size: 1.8rem; }
            .sc-course-card .card-body { padding: 1rem; }
            .sc-course-card h4 { font-size: 1.1rem; }
            .sc-course-card .card-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
            .sc-contact input[type="email"] { max-width: 90%; }
            .sc-contact button { width: 90%; }
        }