/* ===========================================
   1. RESET & BASE STYLES
   =========================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===========================================
   2. TYPOGRAPHY
   =========================================== */

h1, h2, h3, a {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    color: #000000;
}

h5 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    color: #212529;
    border-left: 6px solid #007bff;
    padding-left: 15px;
    font-size: 1.8em;
    margin-bottom: 20px;
}

d1 {
    font-weight: 700;
    color: #ff0000;
}

.container p {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-indent: 2em;
    text-align: left;
}

.container p1 {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    text-indent: 20em;
    text-align: left;
}

p1 {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    color: #000000;
}


/* ===========================================
   3. LAYOUT COMPONENTS
   =========================================== */


.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.divider {
    height: 4px;
    width: 1890px;
    background: linear-gradient(90deg, #005bea 0%, #3b8d99 100%);
    margin: 16px auto;
    border-radius: 2px;
}

/* ===========================================
   4. HEADER & NAVIGATION
   =========================================== */

        /* Header Styles - ปรับปรุงใหม่ */
header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1850px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}




        .main-menu {
            display: flex;
            list-style: none;
            gap: 1rem;
            align-items: center;
        }

        .main-menu li {
            position: relative;
        }

        .main-menu a {
            color: white;
            text-decoration: none;
            padding: 0.6rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-weight: 500;
            display: inline-block;
        }

        .main-menu a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #36a0f4;
            transform: translateY(-2px);
        }

        /* =====================================
        DROPDOWN & MEGA MENU STYLES
        ===================================== */
        .dropdown {
            position: relative;
        }

        .dropdown > a::after {
            font-size: 0.7rem;
            margin-left: 5px;
            transition: transform 0.3s ease;
            display: inline-block;
        }

        .dropdown:hover > a::after {
            transform: rotate(180deg);
        }



        


/* Contact Info in Header */
.phone {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}


/* ===========================================
   5. DROPDOWN & MEGA MENUS
   =========================================== */

.dropdown .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Two Column Mega Menu */
.main-menu .mega-menu {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.main-menu .mega-menu .column {
    flex: 1;
    min-width: 150px;
}

.main-menu .mega-menu .column h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 1400;
    border-bottom: 3px solid #36a0f4;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.main-menu .mega-menu .column a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.main-menu .mega-menu .column a:hover {
    color: #36a0f4;
    transform: translateX(5px);
    background-color: transparent;
}

.mega-menu h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 0.5rem;
}

.mega-menu a {
    color: #333;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.mega-menu a:hover {
    color: #36a0f4;
    background: none;
    transform: translateX(5px);
}

/* Three Column Mega Menu */
.mega-menu.three-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    min-width: 700px;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mega-menu.three-columns .column {
    flex: 1;
    min-width: 200px;
}

.mega-menu.three-columns .column h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #1a1a2e;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 5px;
}

.mega-menu.three-columns .column a {
    display: block;
    font-family: 'Kanit', sans-serif;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: 0.3s ease;
}

.mega-menu.three-columns .column a:hover {
    color: #ff0000;
    transform: translateX(5px);
}
.mega-menu h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 0.5rem;
}

.mega-menu a {
    color: #333;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.mega-menu a:hover {
    color: #36a0f4;
    background: none;
    transform: translateX(5px);
}

/* Three-Column Mega Menu */
.mega-menu.three-columns {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    min-width: 700px;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mega-menu.three-columns .column {
    flex: 1;
    min-width: 200px;
}

.mega-menu.three-columns .column h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    color: #1a1a2e;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 5px;
}

.mega-menu.three-columns .column a {
    display: block;
    font-family: 'Kanit', sans-serif;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: 0.3s ease;
}

.mega-menu.three-columns .column a:hover {
    color: #ff0000;
    transform: translateX(5px);
}
/* Single Column Mega Menu */
.megamenu1 {
    display: grid;
    grid-template-columns: 1fr;
    background: white;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 250px;
}

.dropdown:hover .megamenu1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu1 h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 0.5rem;
}

.megamenu1 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu1 li a {
    display: block;
    padding: 0.3rem 0;
    color: #333;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    border-bottom: 1px solid #ffffff;
    transition: 0.3s;
    font-size: 0.9rem;
}

.megamenu1 li a:hover {
    color: #36a0f4;
    transform: translateX(5px);
    background-color: transparent;
}

/* Four-Column Mega Menu Grid */
 /* Five Column Mega Menu */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: white;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 1400px;
}

.dropdown:hover .mega-menu-grid {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #36a0f4;
    padding-bottom: 0.5rem;
}

.mega-menu-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-grid li a {
    display: block;
    padding: 0.3rem 0;
    color: #333;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
    border-bottom: 1px solid #ffffff;
    transition: 0.3s;
    font-size: 0.9rem;
}

.mega-menu-grid li a:hover {
    color: #36a0f4;
    transform: translateX(5px);
    background-color: transparent;
}

.menu-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #36a0f4;
}

.menu-category h3 {
    color: #1a1a2e;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #36a0f4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-category h3 i {
    color: #36a0f4;
    font-size: 1rem;
}

.menu-category ul {
    list-style: none;
    padding: 0;
}

.menu-category li {
    margin-bottom: 0.3rem;
}

.menu-category a {
    color: #555;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.menu-category a:hover {
    background: #e3f2fd;
    color: #1976d2;
    transform: translateX(5px);
}

.menu-category a::before {
    content: '◉';
    color: #36a0f4;
    font-size: 0.6rem;
    margin-right: 8px;
    display: inline-block;
    transform: translateY(-1px);
}

.tag-soon {
    background: #ff6b6b;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    font-weight: 500;
}

/* ===========================================
   6. MOBILE MENU
   =========================================== */


 /* Right Section */
        .header-right {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        /* Search Box - ปรับปรุงใหม่ */
        .search-wrapper {
            position: relative;
            width: 250px;
        }

        .search-input {
            width: 100%;
            padding: 0.5rem 2.5rem 0.5rem 1rem;
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 25px;
            background: rgba(255,255,255,0.1);
            color: white;
            outline: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .search-input::placeholder {
            color: rgba(255,255,255,0.6);
        }

    .search-input:focus {
        background: rgba(255,255,255,0.2);
        border-color: #36a0f4;
        width: 250px;
    }

        .search-wrapper::after {
            content: '';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px; height: 20px;
            background: url('data:image/svg+xml;utf8,<svg fill="rgba(255,255,255,0.7)" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C8.01 14 6 11.99 6 9.5S8.01 5 10.5 5 15 7.01 15 9.5 12.99 14 10.5 14z"/></svg>') no-repeat center/cover;
            pointer-events: none;            transform: translateY(-50%);
            color: rgba(255,255,255,0.6);
        }

        /* Social Icons */
        .social-icons {
            display: flex;
            gap: 0.8rem;
        }

        .social-icons a {
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-3px);
        }

        .social-icons .line { color: #06c755; }
        .social-icons .Facebook { color: #1877f2; }
        .social-icons .YT { color: #ff0000; }
        .side-menu {
                    position: fixed;
                    top: 0;
                    left: -300px;
                    width: 300px;
                    height: 100vh;
                    background: linear-gradient(180deg, #1a1a2e 0%, #0f3460 100%);
                    transition: left 0.3s ease;
                    z-index: 1001;
                    overflow-y: auto;
                }

        .side-menu.show {
            left: 0;
        }

        .side-menu-content {
            padding: 4rem 1rem 2rem;
        }

        .side-menu-content a {
            color: white;
            text-decoration: none;
            display: block;
            padding: 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }

        .side-menu-content a:hover {
            background: rgba(255,255,255,0.1);
            padding-left: 1.5rem;
        }

        .side-menu-backdrop {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
        }

        .side-menu-backdrop.show {
            display: block;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .mega-menu-grid {
                grid-template-columns: repeat(2, 280px);
            }
        }

        @media (max-width: 968px) {
            .menu-icon {
                display: block;
            }

            nav {
                display: none;
            }

            .header-right {
                gap: 1rem;
            }

            .search-wrapper {
                width: 180px;
            }

            .social-icons {
                display: none;
            }
        }



/* ===========================================
   7. LOGIN MENU
   =========================================== */

   .menu-login {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            background: rgba(255,255,255,0.1);
            padding: 0.5rem 1rem;
            border-radius: 25px;
            border: 2px solid rgba(255,255,255,0.2);
        }

        .menu-login a,
        .menu-login .username {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
        }

        .menu-login button {
            background: #ff4757;
            color: white;
            border: none;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .menu-login button:hover {
            background: #ff3838;
        }

        /* Mobile Menu Toggle */
        .menu-icon {
            cursor: pointer;
            color: #ffffff;
        }
          /* Demo Content */
        .demo-content {
            margin-top: 100px;
            padding: 2rem;
            text-align: center;
        }

        .demo-content h1 {
            color: #1a1a2e;
            margin-bottom: 1rem;
        }

/* ===========================================
   8. HERO SECTION
   =========================================== */

.hero {
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 6rem;
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
    text-shadow: 2px 2px 8px #e0e0e0;
    letter-spacing: 8px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: #36a0f4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ===========================================
   9. COURSE SECTIONS
   =========================================== */

.course-overview {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.course-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.course-details {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.course-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.section-title {
    color: #1a1a2e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #36a0f4;
    padding-bottom: 0.5rem;
}

/* ===========================================
   10. COURSE CARDS & GRID
   =========================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 28px 20px;
    max-width: 950px;
    margin: 0 auto 40px auto;
}

.course-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,80,160,0.11);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 390px;
    transition: box-shadow .2s;
    border: 2px solid transparent;
}

.course-card:hover {
    box-shadow: 0 6px 30px 0 rgba(50,70,200,0.14);
    border-color: #36a0f4;
}

.course-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #f2f2f2;
}

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

.course-card h4 {
    font-family: 'Kanit',sans-serif;
    font-size: 1.14rem;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    font-weight: bold;
}

.course-card p {
    font-size: 0.98rem;
    margin-bottom: 12px;
    color: #434343;
}

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

.course-card .btn-detail, .course-card .btn-book {
    flex: 1 1 0;
    font-family: 'Kanit',sans-serif;
    padding: 8px 0;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background .2s;
}

.course-card .btn-detail {
    background:#333;
    color:#fff;
}

.course-card .btn-book {
    background:#36a0f4;
    color:#fff;
}

.course-card .btn-book:hover {
    background: #1878cf;
}

.no-result {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    padding: 60px 0;
}

/* ===========================================
   11. FILTER SECTION
   =========================================== */

.filter-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.09);
    padding: 32px 20px 10px 20px;
    margin: 40px auto 16px auto;
    max-width: 900px;
}

.filter-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 10px;
    margin-bottom: 20px;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    font-family: 'Kanit',sans-serif;
    cursor: pointer;
}

/* ===========================================
   12. FEATURE CARDS & HIGHLIGHTS
   =========================================== */

.highlight-box {
    background: linear-gradient(135deg, #36a0f4, #1e90ff);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: linear-gradient(135deg, #e3eaf3, #e3eaf3);
    border-radius: 14px;
    box-shadow: 0 2px 12px #e3eaf3;
    padding: 24px;
    margin: 16px 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.2em;
    margin-bottom: 12px;
    
}

.feature-card h4, .feature-card p, .feature-card a {
    text-align: center;
}

/* ===========================================
   13. LISTS & CURRICULUM
   =========================================== */

ul1 {
    list-style: none;
    padding: 0;
}

li1 {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

li1::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0d6efd;
    margin-right: 15px;
    font-size: 1.2em;
}

.curriculum-list {
    list-style: none;
    margin: 1.5rem 0;
}

.curriculum-list li {
    background: #f8f9fa;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #36a0f4;
    transition: all 0.3s ease;
}

.curriculum-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.curriculum-list li::before {
    content: "📚";
    margin-right: 1rem;
}

/* ===========================================
   14. STEPS SECTION
   =========================================== */

.steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.step {
    background-color: white;
    padding: 20px;
    border: 2px dashed #0d6efd;
    border-radius: 10px;
    flex: 1;
    text-align: center;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.step-title {
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===========================================
   15. INFO CARDS & PRICING
   =========================================== */

.info-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #36a0f4;
    min-width: 300px;
}

.info-card h4 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

        .info-card p {
            color: #5a6c7d;
            font-size: 0.9rem;
            line-height: 1.5;
            font-weight: 400;
        }

.info-card p1 {
    color: #000000;
}

        .course-info-container {
            max-width: 350px;
            width: 100%;
        }

        .course-info {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            transition: transform 0.3s ease;
        }

        .course-info:hover {
            transform: translateY(-5px);
        }
                .icon {
            color: #4facfe;
            width: 18px;
            text-align: center;
        }
        
.price-card {
    background: linear-gradient(135deg, #36a0f4, #1e90ff);
    color: white;
    padding: 2rem; /* เปลี่ยนจาก 5rem เป็น 2rem */
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}
 .price-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

.price-card h3 {
    font-size: 1.1rem; /* เปลี่ยนจาก 1.2rem เป็น 1.1rem */
    margin-bottom: 0.8rem; /* เปลี่ยนจาก 1rem เป็น 0.8rem */
    font-weight: 500;
}

.price {
    font-size: 2rem; /* เปลี่ยนจาก 2.5rem เป็น 2rem */
    font-weight: 700;
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

        .price small {
            font-size: 1rem;
            opacity: 0.9;
            font-weight: 400;
        }

.discount-badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(10px);
        }

        .register-btn {
            background: white;
            color: #4facfe;
            padding: 0.8rem 1.2rem; /* เปลี่ยนจาก 1rem 1.5rem เป็น 0.8rem 1.2rem */
            border: none;
            border-radius: 12px;
            font-size: 0.95rem; /* เปลี่ยนจาก 1rem เป็น 0.95rem */
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .register-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
        }

/* ===========================================
   16. REQUIREMENTS & BENEFITS
   =========================================== */

.requirements {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.requirements h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.requirements ul {
    color: #856404;
    padding-left: 1.5rem;
}

.benefits {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.benefits h4 {
    color: #155724;
    margin-bottom: 1rem;
}

.benefits ul {
    color: #155724;
    padding-left: 1.5rem;
}

/* ===========================================
   17. SCHEDULE TABLE
   =========================================== */

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-table th {
    background: #36a0f4;
    color: white;
    padding: 1rem;
    text-align: left;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

/* ===========================================
   18. CONTACT SECTION
   =========================================== */

.contact-section {
    background-color: #13132A;
    padding: 60px 20px;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}
.section-title1 {
    color: #1a1a2e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #36a0f4;
    padding-bottom: 0.5rem;
}


.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.contact-item {
    background: linear-gradient(135deg, #1f1f3b, #2c2c54);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-8px);
}

.contact-icon {
    background: linear-gradient(135deg,#36a0f4 60%,#2583ff 100%);
    color: #fff;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 3px 14px #2583ff21;
}
        .image-container {
            position: relative;
            width: 1895px;
            height: 950px;
            overflow: hidden;
            margin: auto;
        }
        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .overlay-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
        }
        .overlay-text h1 {
        font-size: 4.5rem;
        margin-bottom: 0.5rem;
        color: rgb(0, 0, 0);
        text-shadow: 2px 2px 8px #e0e0e0;
        letter-spacing: 8px;
        }
        .overlay-text p {
            font-size: 23px;
            color: rgb(0, 0, 0);
        }


/* ===========================================
   19. ANIMATIONS
   =========================================== */

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

.course-overview,
.course-details,
.course-info {
    animation: fadeInUp 0.6s ease;
}

/* ===========================================
   20. RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 900px) {
    .filter-list {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .course-overview,
    .course-details,
    .course-info {
        padding: 1.5rem;
    }
}
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .main-menu {
        display: none;
    }

    .hero h6 {
        font-size: 60px;
    }

    .hero-description1 {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .imimage-slider-loop img {
        width: 250px;
        height: 350px;
    }

    .imimage-slider-loop {
        gap: 50px;
    }

    .stars-circle {
        width: 250px;
        height: 250px;
    }
}
@media (max-width: 600px) {
    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .search-wrapper {
        display: none;
    }

    .menu-login {
        padding: 0.4rem 0.8rem;
    }
    
    .search-wrapper {
        display: none;
    }
    
    .social-icons {
        display: none;
    }
    
    .menu-login {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .anniversary-text {
        font-size: 3rem;
    }
    
    .contact-flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-card {
        width: 98%;
        min-width: unset;
        max-width: 350px;
    }
    
    .contact-title {
        font-size: 1.2rem;
        padding-bottom: 0.2rem;
    }
    
    .filter-list { 
        grid-template-columns: 1fr;
    }
    
    .filter-box { 
        padding:16px 5px;
    }
}