/* Start custom CSS for html, class: .elementor-element-842e076 *//* =========================
   HERO SECTION
========================= */

.spa-hero{

    position:relative;

    overflow:hidden;

    padding:100px 0;

    background:
    linear-gradient(
        180deg,
        #f8fbff 0%,
        #ffffff 100%
    );
}

/* background glow */

.spa-hero::before{

    content:"";

    position:absolute;

    width:700px;
    height:500px;

    right:-250px;
    top:-250px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,87,255,.12),
        transparent 70%
    );
}

.spa-container{

    max-width:1280px;

    margin:auto;

    padding:0 24px;
}

.spa-hero-grid{

    display:grid;
    grid-template-columns:55% 40%;
    gap:15px;

    align-items:center;

}

/* =========================
   LEFT CONTENT
========================= */

.spa-badge{

    display:inline-flex;

    align-items:center;

    padding:10px 18px;

    border-radius:999px;

    background:#eaf2ff;

    color:#0057ff;

    font-size:.85rem;

    font-weight:700;

    margin-bottom:20px;
}

.spa-hero-content h1{

    font-size:
    clamp(
        2rem,
        6vw,
        2.5rem
    );

    line-height:1.1;

    font-weight:800;

    color:#0f172a;

    margin-bottom:20px;
}

.spa-hero-content h1 span{

    color:#0057ff;
}

.spa-hero-desc{

    font-size:1rem;

    line-height:1.8;

    color:#64748b;

    max-width:650px;

    margin-bottom:35px;
}

/* =========================
   BUTTONS
========================= */

.spa-hero-buttons{

    display:flex;

    gap:16px;

    flex-wrap:wrap;

    margin-bottom:40px;
}

.spa-btn-primary{

    display:flex;

    align-items:center;

    gap:10px;

    background:#0057ff;

    color:#fff;

    text-decoration:none;

    padding:16px 30px;

    border-radius:999px;

    font-weight:700;

    transition:.3s;
}

.spa-btn-primary:hover{

    transform:
    translateY(-3px);

    box-shadow:
    0 10px 25px
    rgba(0,87,255,.25);
}

.spa-btn-secondary{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:16px 30px;

    border-radius:999px;

    border:1px solid #dbe4f0;

    text-decoration:none;

    color:#0057ff;

    font-weight:700;

    background:#fff;
}

/* =========================
   TRUST CARDS
========================= */
/* =========================
   TRUST CARDS (แก้ไขใหม่เพื่อแก้ปัญหากล่องบีบตัวและข้อความแตก)
========================= */

.spa-trust-grid {
    display: grid;
    /* ปรับให้ขยายตัวอัตโนมัติตามขนาดกล่อง ไม่บังคับ 4 คอลัมน์ถ้าพื้นที่ไม่พอ */
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 10px;
    width: 100%;
}

.spa-trust-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #f1f5f9; /* เพิ่มขอบบางๆ ให้กล่องดูคมขึ้น */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box; /* ป้องกัน Padding ดันกล่องพัง */
}

/* บังคับไม่ให้ธีม WordPress มายุ่งกับข้อความในกล่อง */
.spa-trust-card strong {
    display: block !important;
    color: #0057ff !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    white-space: nowrap; /* ป้องกันตัวเลขตัดบรรทัด */
}

.spa-trust-card span {
    display: block !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    word-break: break-word; /* ให้ตัดคำได้อย่างเหมาะสม */
}

/* =========================
   RESPONSIVE (ปรับปรุงเพิ่มเติมเพื่อให้บนจอขนาดกลางสวยงาม)
========================= */

@media (max-width: 1100px) {
    .spa-hero-grid {
        grid-template-columns: 1fr; /* ปรับเป็นชั้นเดียวเร็วขึ้นเมื่อหน้าจอกลางๆ เพื่อไม่ให้กล่องซ้ายโดนบีบ */
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .spa-hero-grid {
        text-align: center;
    }

    .spa-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .spa-hero-buttons {
        justify-content: center;
    }

    .spa-trust-grid {
        grid-template-columns: repeat(2, 1fr); /* บนแท็บเล็ตบังคับ 2x2 */
    }
    
    .spa-trust-card {
        align-items: center; /* จัดกลางเมื่อหน้าจอเล็กลง */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .spa-trust-grid {
        grid-template-columns: repeat(2, 1fr); /* บนมือถือยังคง 2 คอลัมน์ไว้ จะสวยกว่าเรียงยาว 4 บรรทัด */
        gap: 10px;
    }
    
    .spa-trust-card {
        padding: 12px 8px;
    }
    
    .spa-trust-card strong {
        font-size: 1rem !important;
    }
}
/* =========================
   HERO IMAGE
========================= */

.spa-hero-image{

    position:relative;

    text-align:center;
}

.spa-hero-image img{

    width:100%;

    max-width:600px;

    filter:
    drop-shadow(
        0 35px 60px
        rgba(0,0,0,.18)
    );
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .spa-hero-grid{

        grid-template-columns:1fr;

        text-align:center;
    }

    .spa-hero-desc{

        margin-left:auto;
        margin-right:auto;
    }

    .spa-hero-buttons{

        justify-content:center;
    }

    .spa-trust-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:640px){

    .spa-hero{

        padding:70px 0;
    }

    .spa-trust-grid{

        grid-template-columns:1fr;
    }

    .spa-btn-primary,
    .spa-btn-secondary{

        width:100%;

        justify-content:center;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-269f0b3 */.edu-hub {
            padding: 80px 0;
            background-color: #f8f9fa;
        }
        .edu-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .edu-card {
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid #eee;
        }
        .edu-card-img {
            height: 150px;
            background-color: #ccc; /* Placeholder image */
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1a73e8;
            font-size: 24px;
        }
        .edu-card-content {
            padding: 20px;
        }
        .edu-card h4 {
            color: #1a429b;
            font-size: 16px;
        }
        .link-read {
            color: #1a73e8;
            font-size: 14px;
            font-weight: bold;
        }
        
       /* --- Section 7: Ordering Process --- */
        .process {
            padding: 80px 0;
            background-color: #fff;
        }
        .stepper {
            display: flex;
            justify-content: space-between;
            position: relative;
        }
        .step {
            text-align: center;
            flex: 1;
            position: relative;
        }
        .step-num {
            width: 40px;
            height: 40px;
            background-color: #fff;
            border: 2px solid #ccc;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: #1a429b;
            font-weight: bold;
            font-size: 18px;
        }
        .step.active .step-num {
            border-color: #1a73e8;
            background-color: #1a73e8;
            color: #fff;
        }
        .step.active h5 {
            color: #1a73e8;
        }
        .step p {
            font-size: 12px;
            color: #888;
        }
        .stepper::after {
            content: '';
            position: absolute;
            top: 20px;
            left: 5%;
            width: 90%;
            height: 2px;
            background-color: #eee;
            z-index: -1;
        }

        /* --- Section 8: CTA Footer --- */
        .cta-footer {
            background-color: #1a429b;
            color: #fff;
            padding: 60px 0;
            text-align: center;
        }
        .cta-footer h2 {
            font-size: 28px;
            margin-bottom: 20px;
        }
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        .cta-btn {
            background-color: #3dbe9f; /* Green */
            color: #fff;
            padding: 15px 30px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
        }
        .cta-btn-light {
            background-color: #fff;
            color: #1a429b;
        }

        /* --- Mobile Responsive --- */
        @media (max-width: 992px) {
            .hero-content { grid-template-columns: 1fr; text-align: center; }
            .app-grid, .product-grid, .feature-columns, .edu-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-features { justify-content: center; flex-wrap: wrap;}
            .cta-buttons { flex-direction: column; align-items: center; }
            .stepper { flex-wrap: wrap; gap: 20px; }
            .stepper::after { display: none; }
            .product-grid { grid-template-columns: 1fr 1fr;}
        }
        @media (max-width: 600px) {
            .app-grid, .product-grid, .edu-grid { grid-template-columns: 1fr; }
            .hero-text h1 { font-size: 36px; }
            .section-title { font-size: 26px; }
            .header-content nav { display: none; }
        }
    </style>
</head>
<body>

<header>
    <div class="container header-content">
        <div class="logo">SPA <span>BATTERY</span></div>
        <nav>
            <ul>
                <li><a href="#">หน้าหลัก</a></li>
                <li><a href="#">สินค้า</a></li>
                <li><a href="#">เกี่ยวกับเรา</a></li>
                <li><a href="#">บริการของเรา</a></li>
                <li><a href="#">บทความ</a></li>
                <li><a href="#">ติดต่อเรา</a></li>
            </ul>
        </nav>
        <a href="#" class="btn btn-header">ขอใบเสนอราคา</a>
    </div>
</header>

<main>
    <section class="hero">
        <div class="container hero-content">
            <div class="hero-text">
                <h1>แบตเตอรี่ลิเธียม <span>24V</span><br> ออกแบบและผลิตตามสเปกการใช้งาน</h1>
                <p class="subheading">สำหรับระบบโซล่าเซลล์ รถไฟฟ้า UPS AGV และงานอุตสาหกรรม<br>ด้วยเทคโนโลยี LiFePo4 คุณภาพสูง ปลอดภัย ทนทาน ใช้งานได้ยาวนาน</p>
                <div class="hero-btns">
                    <a href="#" class="btn btn-blue">ขอใบเสนอราคา ➔</a>
                    <a href="#" class="btn btn-light">ปรึกษาผู้เชี่ยวชาญ ฟรี!</a>
                </div>
                <div class="hero-features">
                    <div class="feature-item"><span class="feature-icon">🛡️</span> 10+ Years Experience</div>
                    <div class="feature-item"><span class="feature-icon">🛡️</span> 2-5 Years Warranty</div>
                    <div class="feature-item"><span class="feature-icon">⚙️</span> OEM/ODM Support</div>
                    <div class="feature-item"><span class="feature-icon">✅</span> QC 100% Tested</div>
                </div>
            </div>
            <div class="hero-image">
                <div style="background:#eee; height:350px; display:flex; align-items:center; justify-content:center; color:#1a429b; font-size:40px; border-radius:15px; border:3px solid #1a73e8; box-shadow:0 0 30px #e1f5fe;">[24V BATTERY IMAGE]</div>
            </div>
        </div>
    </section>

    <section class="applications">
        <div class="container">
            <h2 class="section-title">แบตเตอรี่ลิเธียม 24V เหมาะกับการใช้งานหลากหลาย</h2>
            <div class="app-grid">
                <div class="app-card">
                    <div class="app-icon">☀️</div>
                    <h4>ระบบโซล่าเซลล์</h4>
                    <p>กักเก็บพลังงาน ใช้งานได้ต่อเนื่อง</p>
                </div>
                <div class="app-card">
                    <div class="app-icon">🚲</div>
                    <h4>รถไฟฟ้า</h4>
                    <p>มอเตอร์ไซค์ / E-Bike ไฟฟ้าเสถียร วิ่งไกล</p>
                </div>
                <div class="app-card">
                    <div class="app-icon">🤖</div>
                    <h4>AGV / หุ่นยนต์</h4>
                    <p>รองรับการใช้งานหนัก ในโรงงานอุตสาหกรรม</p>
                </div>
                <div class="app-card">
                    <div class="app-icon">🔋</div>
                    <h4>UPS & Backup</h4>
                    <p>สำรองไฟต่อเนื่อง ปลอดภัย มั่นใจ</p>
                </div>
                <div class="app-card">
                    <div class="app-icon">📡</div>
                    <h4>Telecom</h4>
                    <p>ระบบสื่อสาร เสถียร ไม่สะดุด</p>
                </div>
            </div>
        </div>
    </section>

    <section class="products">
        <div class="container">
            <h2 class="section-title">ตัวอย่างแบตเตอรี่ลิเธียม 24V ที่เราออกแบบและผลิต</h2>
            <div class="product-grid">
                <div class="product-card">
                    <div style="height:120px; background:#eee; display:flex; align-items:center; justify-content:center; color:#1a429b;">[IMAGE]</div>
                    <h3>24V 50Ah</h3>
                    <p class="sub">สำหรับ AGV</p>
                    <ul>
                        <li>LiFePo4 Cell</li>
                        <li>BMS 50A</li>
                        <li>Custom Size</li>
                    </ul>
                    <a href="#" class="btn btn-details">ดูรายละเอียด</a>
                </div>
                <div class="product-card">
                    <div style="height:120px; background:#eee; display:flex; align-items:center; justify-content:center; color:#1a429b;">[IMAGE]</div>
                    <h3>24V 100Ah</h3>
                    <p class="sub">สำหรับโซล่าเซลล์</p>
                    <ul>
                        <li>LiFePo4 Cell</li>
                        <li>BMS 100A</li>
                        <li>รองรับอินเวอร์เตอร์</li>
                    </ul>
                    <a href="#" class="btn btn-details">ดูรายละเอียด</a>
                </div>
                <div class="product-card">
                    <div style="height:120px; background:#eee; display:flex; align-items:center; justify-content:center; color:#1a429b;">[IMAGE]</div>
                    <h3>24V 200Ah</h3>
                    <p class="sub">สำหรับงานอุตสาหกรรม</p>
                    <ul>
                        <li>LiFePo4 Cell</li>
                        <li>BMS 150A</li>
                        <li>CAN / RS485</li>
                    </ul>
                    <a href="#" class="btn btn-details">ดูรายละเอียด</a>
                </div>
                <div class="product-card">
                    <div style="height:120px; background:#eee; display:flex; align-items:center; justify-content:center; color:#1a429b;">[IMAGE]</div>
                    <h3>24V 20Ah</h3>
                    <p class="sub">สำหรับรถไฟฟ้า</p>
                    <ul>
                        <li>LiFePo4 Cell</li>
                        <li>น้ำหนักเบา</li>
                        <li>ขนาดกะทัดรัด</li>
                    </ul>
                    <a href="#" class="btn btn-details">ดูรายละเอียด</a>
                </div>
            </div>
            <div class="slider-dots">
                <span class="dot active"></span>
                <span class="dot"></span>
                <span class="dot"></span>
            </div>
        </div>
    </section>

    <section class="features-dual">
        <div class="container feature-columns">
            <div class="feature-col">
                <h2>ปรับแต่งได้ตามความต้องการ</h2>
                <div class="feature-subgrid">
                    <div class="subgrid-item">
                        <span>🔋</span>
                        <div><h5>ความจุ (Capacity)</h5><p>10Ah / 20Ah / 50Ah / 100Ah / 200Ah ขึ้นไป</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>🔋</span>
                        <div><h5>ประเภทเซลล์</h5><p>LiFePo4 / Li-ion</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>📱</span>
                        <div><h5>ระบบ BMS</h5><p>Bluetooth / CANBUS / RS485</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>🔌</span>
                        <div><h5>ขั้วต่อ (Connector)</h5><p>Anderson / XT60 / Terminal</p></div>
                    </div>
                </div>
                <div class="customize-note">
                    <strong>⚙️ ออกแบบได้ตามขนาด พื้นที่ติดตั้ง และความต้องการเฉพาะของคุณ</strong>
                </div>
            </div>
            <div class="feature-col">
                <h2>ทำไมต้องเลือก SPA Battery</h2>
                <div class="feature-subgrid">
                    <div class="subgrid-item">
                        <span>🛡️</span>
                        <div><h5>เชี่ยวชาญ</h5><p>ประสบการณ์มากกว่า 10 ปี</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>✅</span>
                        <div><h5>คุณภาพสูง</h5><p>คัดสรรวัตถุดิบ เกรด A ทุกชิ้นส่วน</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>👷</span>
                        <div><h5>ทีมวิศวกร</h5><p>ให้คำปรึกษาและออกแบบ</p></div>
                    </div>
                    <div class="subgrid-item">
                        <span>🛠️</span>
                        <div><h5>บริการครบวงจร</h5><p>ตั้งแต่ต้นจนจบ ในที่เดียว</p></div>
                    </div>
                </div>
            </div>
        </div>
    </section>/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-dccd7b1 *//* ==================================
   CTA
================================== */

.spa-cta{

    padding:120px 0;

    background:#f8fbff;
}

.spa-cta,
.spa-cta h2,
.spa-cta p,
.spa-cta span,
.spa-cta a,
.spa-cta div{
    
    color:#fff;
    
}

.spa-cta-box{

    background:
    linear-gradient(
        135deg,
        #0057ff,
        #003fb7
    );

    border-radius:36px;

    overflow:hidden;

    padding:60px;

    display:grid;


    align-items:center;

    gap:40px;

    position:relative;
}

/* CONTENT */

.spa-cta-content{

    color:#fff;
}

.spa-cta-badge{

    display:inline-flex;

    padding:10px 18px;

    border-radius:999px;

    background:
    rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

    font-size:.8rem;

    font-weight:700;

    margin-bottom:24px;
}

.spa-cta-content h2{

    font-size:
    clamp(
        1rem,
        4vw,
        1.05rem
    );

    line-height:1.2;

    margin-bottom:20px;
}

.spa-cta-content p{

    font-size:1.05rem;

    line-height:1.8;

    opacity:.92;

    max-width:700px;

    margin-bottom:35px;
}

/* BUTTONS */

.spa-cta-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:16px;

    margin-bottom:25px;
}

.spa-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 26px;

    border-radius:999px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;
}

.spa-btn-line{

     background:
    rgba(255,255,255,.15);

    color:#fff;

    border:1px solid
    rgba(255,255,255,.25);
}

.spa-btn-phone{

     background:
    rgba(255,255,255,.15);

    color:#fff;

    border:1px solid
    rgba(255,255,255,.25);
}

.spa-btn-facebook{

    background:
    rgba(255,255,255,.15);

    color:#fff;

    border:1px solid
    rgba(255,255,255,.25);
}

.spa-btn:hover{

    transform:
    translateY(-3px);
}

/* NOTE */

.spa-cta-note{

    font-size:.95rem;

    opacity:.9;

    line-height:1.8;
}/* End custom CSS */