/* ================= BASE ================= */
/* ================= BASE ================= */
body {
    margin: 0;
    font-family: 'Prompt', sans-serif;
    background: #ffffff;
    background-image: none !important;   /* ลบโลโก้ลายน้ำ */
    color: #222;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
/* ===== HEADER ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #c99700, #f7d067);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;   /* ซ้าย – กลาง – ขวา */
    align-items: center;
    padding: 0 20px;
}

.logo {
    width: 45px;
}

.company-name {
    flex: 1;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}



/* ================= SIDE MENU ================= */
.side-menu {
    position: fixed;
    top: 0;
    right: -25%;     /* ซ่อนออกไป */
    width: 25%;      /* ให้เมนูกว้าง 60% ของหน้าจอ */
    max-width: 260px;  /* กันเมนูใหญ่เกินไปใน tablet */
    height: 70%;
    background: rgba(92, 90, 90, 0.94);
    padding-top: 90px;
    transition: 0.05s ease;
    z-index: 2000;
}

.side-menu.open {
    right: 0;
}


.side-menu a {
    display: block;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}

.slider {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.slider img.active {
    opacity: 1;
}
@media (min-width: 768px) {
    .side-menu {
        width: 35%;
        right: -35%;
    }
}



/* ================= TITLES ================= */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 60px auto 22px;
    text-align: center;
    display: block;
    color: #000;
    letter-spacing: 0.5px;
}

.section-title:after {
    display: none !important;
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #b68300, #ffe58a);
    border-radius: 4px;
}

/* ================= CONTENT ================= */
.content {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
    line-height: 1.7;
}

/* ================= VIDEO GLASSMORPHISM ================= */
.video-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.video-box {
    width: 45%;
    padding: 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid rgba(255, 195, 55, 0.45);
}

video {
    width: 100%;
    border-radius: 16px;
}

@media (max-width: 700px) {
    .video-box { width: 100%; }
}

/* ================= SERVICE CARDS ================= */
.service-boxes {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin: 60px 0;
}

.box {
    width: 28%;
    background: #fff4c4;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 14px rgba(0,0,0,0.14);
    transition: 0.3s;
}

.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}

@media (max-width: 700px) {
    .box { width: 100%; }
}

/* ================= FOOTER ================= */
footer {
    background: #111;
    color: #eee;
    text-align: center;
    padding: 25px 0;
    margin-top: 60px;
    font-size: 14px;
    letter-spacing: 0.6px;
}
/* ================= FLOATING BUTTONS ================= */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0 5px 12px rgba(0,0,0,0.25);
    transition: 0.25s;
}

.fab:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}


/* สีเฉพาะปุ่ม */
.fab.phone { background: #25d366; }     /* Tel (เขียวโทร) */
.fab.line { background: #06C755; }      /* LINE */
.fab.facebook { background: #1877F2; }  /* FB */

.fab.phone img,
.fab.line img,
.fab.facebook img {
    filter: brightness(1000%);
}
/* ================= FLOATING BUTTONS ================= */
/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 35px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 9999;
}

.floating-buttons .fab {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    border: 1px solid #eee;
    transition: 0.25s ease;
}

.floating-buttons .fab img {
    width: 32px;
    height: 32px;
}

/* Hover */
.floating-buttons .fab:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Colors */
.phone { background: #ffe8c7; }
.line { background: #d8ffd8; }
.facebook { background: #deebff; }

/* Mobile */
@media (max-width: 600px) {
    .fab { width: 52px; height: 52px; }
    .fab img { width: 26px; height: 26px; }
}
.content, 
.section-title,
.content p,
.expert-list {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}
.expert-list {
    display: inline-block;
    text-align: left;
}
/* ===== จัดข้อความหัวเว็บด้านบนให้อยู่กึ่งกลาง ===== */
.top-description,
.top-subtext,
.top-link {
    text-align: center;
    width: 100%;
    display: block;
    margin: 10px auto;
    font-size: 20px;
}

.top-description {
    font-weight: 700;
    font-size: 24px;
}

.top-subtext {
    font-size: 18px;
    color: #555;
}

.top-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 16px;
    color: #0066ff;
}
.expert-list {
    list-style-type: none;   /* ลบจุดหน้า bullet */
    padding-left: 0;        /* ลดย่อหน้าซ้าย */
    margin-left: 0;
    text-align: center;     /* จัดรายการให้อยู่กึ่งกลาง */
}

.expert-list li {
    margin: 6px 0;          /* เพิ่มระยะห่างแต่ละบรรทัด */
}
/* ABOUT PAGE */
.about-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.hero-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #c99700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.about-content {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    line-height: 1.8;
}

.about-content h2 {
    margin-top: 40px;
    color: #c99700;
}

.about-content ul {
    margin-left: 20px;
}
/* HERO WATERMARK */
./* HERO SECTION */
.about-hero {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* กันไม่ให้โดน header ชน */
}

.hero-watermark {
    position: absolute;
    inset: 0;
    background: url("images/logo.png") center center no-repeat;
    background-size: 800px;
    opacity: 0.08;
    z-index: 1;
}

.hero-center {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-center h2 {
    font-size: 46px;
    font-weight: 700;
    color: #c99700;
    margin-bottom: 10px;
}

.hero-center p {
    font-size: 22px;
    color: #555;
}
/* ป้องกัน hero / รูป / ลายน้ำ ทับปุ่มเมนู */
.about-hero,
.about-hero img,
.hero-text {
    pointer-events: none !important;
}

/* SIDE MENU (มือถือ) */
#sideMenu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: #111;
    padding: 30px 20px;
    transition: 0.4s;
    z-index: 2000;
}

#sideMenu.open {
    right: 0;
}

#sideMenu a {
    display: block;
    padding: 15px 0;
    font-size: 22px;
    color: white;
    text-decoration: none;
}
.services-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #c99700;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: .3s;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-box h3 {
    color: #c99700;
    margin-bottom: 10px;
}
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slide-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: none;
    margin: 0 auto;
    border-radius: 12px;
    background: #fff;
    padding: 5px;
}
/* HEADER */
.site-header {
    background: linear-gradient(to right, #c89500, #f2d675);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    position: relative;
}

.site-header .logo {
    width: 55px;
    position: absolute;
    left: 20px;
}

.site-header .site-title {
    font-size: 22px;
    font-weight: 700;
    color: #0a2a6a;
    margin: 0;
}


.accordion {
    list-style: none;
    padding: 0;
}

.acc-btn {
    width: 100%;
    background: #FFF7CC;
    border: none;
    padding: 14px 18px;
    font-size: 18px;
    text-align: left;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s;
}

.acc-btn:hover {
    background: #FFE9A0;
}

.acc-content {
    display: none;
    background: #ffffff;
    padding: 15px;
    margin-top: -5px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.acc-content.open {
    display: block;
}


.contact-box {
    margin-top: 30px;
    padding: 20px;
    background: #FFF3BF;
    text-align: center;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* หัวข้อ Blog */
.acc-btn {
    background: #ffeeae;
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: 0.25s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.acc-btn:hover {
    background: #ffe07e;
    transform: translateX(6px);
}

/* กล่องเนื้อหา */
.acc-content {
    background: #ffffff;
    padding: 20px 22px;
    margin-top: -10px;
    margin-bottom: 20px;
    border-radius: 12px;
    line-height: 1.85;
    font-size: 18px;
    color: #222;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    display: none;
}

/* เปิด */
.acc-content.open {
    display: block;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
<style>

/* แถบหัวข้อ */
.blog-box {
    width: 90%;
    max-width: 900px;
    background: linear-gradient(to right, #f7d774, #f3cd5a);
    padding: 15px 25px;
    text-align: center;
    border-radius: 10px;
    margin: 20px auto;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    color: #2d2d2d;
    transition: 0.25s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.blog-box:hover {
    background: linear-gradient(to right, #ffdf7e, #f8d56a);
    transform: translateY(-2px);
}

/* กล่องเนื้อหา */
.blog-content {
    width: 90%;
    max-width: 850px;
    margin: 10px auto 25px;
    background: #ffffffea;
    padding: 25px 35px;
    border-radius: 14px;
    text-align: center;     /* เนื้อหาอยู่ตรงกลาง */
    display: none;
    line-height: 1.9;
    font-size: 19px;
    color: #1f1f1f;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

/* เปิดเนื้อหา */
.blog-content.show {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

</style>
/* HEADER */
.site-header {
    background: linear-gradient(to right, #c89200, #f3cf68);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 95px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.logo {
    position: absolute;
    left: 20px;
    width: 55px;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #0a2a6a;
}


/* เมนูด้านข้าง */
.side-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: #1c1c1c;
    padding-top: 120px;
    transition: 0.3s;
    z-index: 9999;
}

.side-menu a {
    display: block;
    padding: 18px 25px;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #333;
}

.side-menu a.active {
    background: #d5a100;
}
/* HEADER BACKGROUND */
.site-header {
    width: 100%;
    background: linear-gradient(90deg, #c89400, #f7d471);
    padding: 20px 0;
    position: relative;
}

/* HEADER INNER */
.header-inner {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* LOGO */
.header-logo {
    width: 80px;
    position: absolute;
    left: 20px;
    top: 5px;
}

/* TITLE */
.header-title {
    font-size: 28px;
    font-weight: 700;
    color: #0a2a6a;
    text-align: center;
}


/* HEADER GOLD BAR */
.site-header {
    width: 100%;
    background: linear-gradient(90deg, #c89200, #f1ce60);
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* LOGO */
.site-header .logo {
    height: 55px;
    width: auto;
}

/* TITLE */
.site-title {
    font-size: 32px;
    font-weight: 700;
    color: #002a5c;
    margin: 0;
}


/* CONTACT PAGE */
.contact-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    color: #042b67;
}

.map-title {
    text-align: center;
    font-size: 26px;
    margin-top: 30px;
    color: #000;
}

/* CONTACT CARDS */
.contact-wrapper {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #222;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.12);
    transition: 0.25s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.18);
}

.c-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* TEXT */
.contact-card strong {
    font-size: 20px;
    color: #000;
}

/* MOBILE */
@media (max-width: 600px) {
    .c-icon {
        width: 45px;
        height: 45px;
    }

    .contact-card strong {
        font-size: 18px;
    }

    .contact-card {
        padding: 15px;
        gap: 14px;
    }
}
.hero {
    position: relative;
    width: 100%;
    height: 420px;     /* << ต้องกำหนดให้ตายตัว */
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

.slider {
    width: 100%;
    height: 100%;       /* ใช้ตาม hero */
    position: relative;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.slider img.active {
    opacity: 1;
}


@media (max-width: 600px) {
    .hero { height: 220px; }
    .slider img { height: 220px; }
/* HAMBURGER BUTTON — ใช้เฉพาะมือถือ */
.hamburger {
    width:  20px;
    height: 20px;
    background: #6a5310;
    border-radius: 10px;
    padding: 9px;
    display: none;         /* ← ซ่อนบน Desktop */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    height: 4px;
    background: #fff;
    border-radius: 4px;
}

/* แสดงเฉพาะมือถือ */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-menu { display: none; }
}


