.elementor-4879 .elementor-element.elementor-element-16d4d1c{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-b1faf62 */<style>

    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #ffffff;
        }

        /* Global Styles */
        section {
            padding: 100px 20px;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.2rem;
            color: #1a2332;
            font-weight: 700;
        }

        .btn {
            padding: 14px 32px;
            font-size: 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.25s ease;
            text-decoration: none;
            display: inline-block;
        }

        /* Image Placeholder Style */
        .img-placeholder {
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            font-size: 0.9rem;
            text-align: center;
            padding: 20px;
            border: 1px dashed #9ca3af;
            margin-bottom: 20px;
            border-radius: 8px;
        }

        /* ===== SECTION 1: HERO (THE MASTER FINAL VERSION) ===== */
        .hero-section {
            background: #1a2332;
            color: white;
            padding: 100px 20px;
            text-align: center;
            min-height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        
        .hero-content {
            max-width: 850px;
            margin: 0 auto;
        }
        
        .hero-section h1 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.3; /* ปรับให้ดูโปร่งขึ้น */
        }
        
        .hero-section .en-headline {
            font-size: 1.4rem;
            color: #14b8a6; /* สีเขียวมินต์หลัก */
            margin-bottom: 45px;
            font-weight: 400;
            display: block;
            opacity: 0.95;
            letter-spacing: 0.5px;
        }
        
        /* --- การจัดการข้อความ (Body Copy) --- */
        .hero-body-copy {
            text-align: center;
            margin: 45px auto;
        }
        
        .hero-body-copy p {
            font-size: 1.15rem;
            margin-bottom: 20px;
            line-height: 1.8; /* ระยะบรรทัดให้อ่านง่าย (Scannability) */
            color: #e0e7ff;
            opacity: 0.9;
        }
        
        /* เน้น Keywords ให้ AI และคนอ่านเห็นชัด */
        .hero-body-copy strong {
            color: #ffffff;
            font-weight: 600;
            border-bottom: 1px solid rgba(20, 184, 166, 0.4); 
        }
        
        /* --- ส่วนปุ่ม Call to Action --- */
        .hero-cta {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }
        
        .btn-primary {
            background: #7c3aed;
            color: white !important;
            border: 1px solid #7c3aed;
            padding: 15px 35px;
            border-radius: 8px;
            font-weight: 600;
            transition: 0.3s;
        }
        
        .btn-primary:hover {
            background: #6d28d9;
            box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
            transform: translateY(-3px);
        }
        
        .btn-secondary {
            background: transparent;
            color: #ffffff !important;
            border: 1px solid #14b8a6; /* ปรับสีขอบตามที่แนะนำ */
            padding: 15px 35px;
            border-radius: 8px;
            font-weight: 600;
            transition: 0.3s;
        }
        
        .btn-secondary:hover {
            background: rgba(20, 184, 166, 0.1); /* พื้นหลังจางๆ เมื่อ Hover */
            border-color: #14b8a6;
            box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
            transform: translateY(-3px);
        }
        
        /* --- ส่วน Social Proof ใต้ปุ่ม --- */
        .hero-social-proof {
            margin-top: 25px;
        }
        
        .stars {
            color: #fbbf24; /* สีทองสำหรับดาว */
            font-size: 1.2rem;
            display: block;
            margin-bottom: 8px;
        }
        
        .proof-text {
            color: #94a3b8;
            font-size: 0.95rem;
            font-style: italic;
        }
        
        /* --- การจัดการรูปภาพ (Image Optimization) --- */
        .elementor-4879 .elementor-element.elementor-element-b1faf62 img {
            border-radius: 12px; /* ขอบมนขึ้นเพื่อความทันสมัย */
            box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.35);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
        
        .elementor-4879 .elementor-element.elementor-element-b1faf62 img:hover {
            transform: translateY(-12px); /* ลอยสูงขึ้นเล็กน้อย */
            box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.5); /* เงาฟุ้งขึ้นเมื่อลอย */
        }
        
        /* Mobile Adjustments (Responsive) */
        @media (max-width: 768px) {
            .hero-section h1 { font-size: 2rem; }
            .hero-section { padding: 60px 15px; }
            .hero-cta .btn { width: 100%; } /* ปุ่มเต็มจอในมือถือ */
        }
        

        /* ===== SECTION 2: SERVICE HUB ===== */
        .service-hub {
            padding: 80px 0;
            background: white;
        }
        
        /* ปรับแต่งหัวข้อ Section */
        .section-title h2 {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            color: #1a2332;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: #14b8a6; /* สีเขียวมินต์เชื่อมโยงจาก Section 1 */
            border-radius: 2px;
        }
        
        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            align-items: stretch; /* บังคับให้ Card ทุกใบยืดสูงเท่ากัน */
        }
        
        .service-box {
            background: #ffffff;
            padding: 45px 35px;
            border-radius: 15px; /* มนขึ้นให้ดูพรีเมียม */
            border: 1px solid #f0f0f0;
            transition: all 0.3s ease;
            text-align: center;
            display: flex;
            flex-direction: column; /* จัดเนื้อหาภายในเป็นแนวตั้ง */
        }
        
        .service-box:hover {
            border-color: #14b8a6; /* เปลี่ยนสีขอบเมื่อ Hover */
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
            transform: translateY(-5px);
        }
        
        /* จัดการรูปภาพในวงกลม */
        .service-image-container {
            width: 150px;
            height: 150px;
            margin: 0 auto 25px;
        }
        
        .service-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #f8f8f8;
            transition: all 0.3s ease;
        }
        
        .service-box:hover .service-img {
            border-color: #14b8a6;
        }
        
        .service-box h3 {
            font-size: 1.4rem;
            color: #1a2332;
            margin-bottom: 18px;
            font-weight: 700;
        }
        
        .service-box p {
            color: #666;
            line-height: 1.7;
            font-size: 1rem;
            margin: 0;
        }
        
        .service-box strong {
            color: #7c3aed; /* ใช้สีม่วงเน้นคำสำคัญ */
        }


       /* ===== SECTION 4: LEARNING CENTER (UPDATED) ===== */
        .learning-center {
            padding: 80px 0;
            background: #ffffff;
        }
        
        /* ปรับปรุงหัวข้อให้กว้างขึ้นเพื่อรับกับวิดีโอใหญ่ */
        .learning-intro {
            background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
            color: white;
            padding: 60px 40px;
            border-radius: 20px;
            margin-bottom: 50px;
            text-align: center;
            box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2);
            max-width: 1100px; /* เพิ่มความกว้างสูงสุดของคอนเทนเนอร์ */
            margin-left: auto;
            margin-right: auto;
        }
        
        /* โครงสร้างควบคุมวิดีโอ Vimeo ให้ใหญ่สะใจ */
        .academy-video-wrapper {
            max-width: 1000px; /* ขยายขนาดวิดีโอให้ใหญ่ขึ้นอย่างเห็นได้ชัด */
            margin: 0 auto 60px; /* เพิ่มระยะห่างด้านล่าง */
            border-radius: 20px;
            overflow: hidden;
            background: #000;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); /* ใส่เงาให้วิดีโอดูพรีเมียม */
            border: 1px solid rgba(124, 58, 237, 0.2);
        }
        
        .vimeo-player-container {
            padding: 56.25% 0 0 0; /* อัตราส่วน 16:9 */
            position: relative;
            width: 100%;
        }
        
        .vimeo-player-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        /* การจัดวาง Card ด้านล่างวิดีโอ */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            align-items: stretch;
        }
        
        .product-card {
            background: #ffffff;
            border: 1px solid #eef2ff;
            border-radius: 15px;
            padding: 40px 30px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-align: center;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
        }
        
        .product-card:hover {
            transform: translateY(-10px);
            border-color: #7c3aed;
            box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
        }
        
        /* ปรับขนาดรูปภาพใน Card ให้สมดุล */
        .product-card img {
            width: 100%;
            height: 220px; /* เพิ่มความสูงรูปภาพเล็กน้อย */
            border-radius: 12px;
            object-fit: cover;
            margin-bottom: 25px;
        }
        
        /* Responsive สำหรับมือถือ */
        @media (max-width: 768px) {
            .academy-video-wrapper {
                max-width: 95%; /* บนมือถือให้เกือบเต็มจอ */
                margin-bottom: 40px;
            }
            
            .learning-intro {
                padding: 40px 20px;
            }
        }

        /* Section 5: แบบ Minimal ขนาดกะทัดรัด (แก้ไขเรื่องรูปโดนตัด) */
        .masterpiece-gallery {
            background: #0f172a;
            padding: 60px 0;
            overflow: hidden;
        }
        
        .gallery-wrapper {
            max-width: 900px;
            margin: 0 auto;
            text-align: center;
            color: white;
            padding: 0 20px;
        }
        
        /* ปรับขนาดกรอบให้เล็กลง (ความสูงเหลือเพียง 380px) - คงค่าเดิมตามที่ช่างฤทธิ์รับได้ */
        .auto-slider {
            width: 100%;
            height: 380px; 
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin: 0 auto;
            /* เพิ่มพื้นหลังสีเข้มในกรณีที่รูปย่อแล้วเห็นขอบ */
            background: #111; 
        }
        
        .slide-track {
            display: flex;
            width: 1500%; /* 15 รูป x 100% */
            height: 100%;
            animation: slideContinuous 45s infinite ease-in-out;
        }
        
        .individual-slide {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center; /* จัดรูปให้อยู่กึ่งกลางแนวนอน */
            align-items: center;    /* จัดรูปให้อยู่กึ่งกลางแนวตั้ง */
        }
        
        .individual-slide img {
            /* --- จุดสำคัญที่แก้ไข --- */
            max-width: 100%;      /* บังคับไม่ให้ความกว้างเกินกรอบ */
            max-height: 100%;     /* บังคับไม่ให้ความสูงเกินกรอบ */
            width: auto;          /* รักษาอัตราส่วนรูป (ไม่เบี้ยว) */
            height: auto;         /* รักษาอัตราส่วนรูป (ไม่เบี้ยว) */
            object-fit: contain;  /* สั่งย่อรูปให้พอดีกรอบ โดยไม่ตัดขอบรูป */
            display: block;
        }
        
        /* แอนิเมชั่นสไลด์แบบ 15 รูป */
        @keyframes slideContinuous {
            0%, 6% { transform: translateX(0); }
            6.66%, 12.66% { transform: translateX(-6.66%); }
            13.33%, 19.33% { transform: translateX(-13.33%); }
            20%, 26% { transform: translateX(-20%); }
            26.66%, 32.66% { transform: translateX(-26.66%); }
            33.33%, 39.33% { transform: translateX(-33.33%); }
            40%, 46% { transform: translateX(-40%); }
            46.66%, 52.66% { transform: translateX(-46.66%); }
            53.33%, 59.33% { transform: translateX(-53.33%); }
            60%, 66% { transform: translateX(-60%); }
            66.66%, 72.66% { transform: translateX(-66.66%); }
            73.33%, 79.33% { transform: translateX(-73.33%); }
            80%, 86% { transform: translateX(-80%); }
            86.66%, 92.66% { transform: translateX(-86.66%); }
            93.33%, 99.33% { transform: translateX(-93.33%); }
            100% { transform: translateX(0); }
        }

        /* ปรับขนาดสำหรับมือถือให้เล็กลงไปอีก */
        @media (max-width: 768px) {
            .auto-slider { height: 250px; }
            .masterpiece-gallery { padding: 40px 0; }
        }
        /* ===== SECTION 6: FAQ ===== */
        .faq-section {
            background: white;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: #f9fafb;
            border-left: 4px solid #7c3aed;
            padding: 25px;
            margin-bottom: 15px;
            border-radius: 4px;
        }

        .faq-question {
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a2332;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-section h1 { font-size: 2rem; }
            .btn { width: 100%; }
        }
    </style>/* End custom CSS */