 html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body::before {
    content: "";
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png');  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 50; /* ลดความโปร่งใสถ้าต้องการ */
}

body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
}


        header {
            position: relative;
            padding: 20px 50px; 
            background-color: #fff;
            border-bottom: 1px solid #ddd;
            display: flex;
            flex-direction: column; 
            justify-content: center;
            align-items: center;
            font-family: Arial, Chonburi;
        }
        header h1 {
            font-size: 24px;
            margin: 0;
            color: #f4a52d;
        }
        header p {
            margin: 0;
            color: #333;
        }
        .search-bar {
            text-align: center;
            margin: 20px 0;
        }
        .search-bar input[type="text"] {
            width: 70%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .search-bar button {
            padding: 10px 20px;
            font-size: 16px;
            background-color: #f4a52d;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .search-bar button:hover {
            background-color: #e59525;
        }
        .highlight {
        text-align: center;
        margin: 20px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        }
        
        .highlight h2 {
            font-size: 20px;
            color: #f4a52d;
            margin-bottom: 20px;
        }
        .highlight-items {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 50px;
        }
        .highlight-item {
            position: relative;
            background-color: #fff;
            width: 300px;
            padding: 10px;
            box-shadow: none; /* ลบเงาออกถ้ามี */
        }
        .highlight-item a {
            text-decoration: none; /* ลบขีดใต้ */
        }       
        .highlight-item img {
            width: 300px;
            height:200px;
            border-radius: 8px;
            display: block;
        }
        .highlight-item h3 {
            font-size: 18px;
            color: #333;
            margin-top: 20px;
            text-align: center;
        }
        /* เพิ่มสไตล์สำหรับไอคอนและข้อความ Highlight */
        .highlight-text {
        text-align: center;
        margin-top: 5px; /* ปรับค่า margin-top เพื่อย้ายคำว่า Highlight ขึ้น */
        font-size: 25px;
        color: #333;
        }
        .highlight-text .icon {
        display: block;            /* ให้ไอคอนอยู่คนละบรรทัด */
        width: 45px;               /* ขนาดของไอคอน */
        height: 45px;
        margin: 0 auto 5px auto;   /* จัดไอคอนให้อยู่กลาง และเพิ่มระยะห่างด้านล่าง */
        margin-top: 30px;    
        }
        .highlight-text .highlight-word {
            font-family: 'Prompt', sans-serif;
            font-size: 40px;  /* ปรับขนาดตัวอักษรของคำว่า Highlight */
            font-weight: bold; /* ทำให้ตัวอักษรหนาขึ้น */
        }
        .highlight-text .high {
            color: black; /* กำหนดสีให้กับคำว่า "High" */
            font-weight: bold; /* ทำให้ตัวอักษรหนาขึ้น */
            font-size: 30px;
            font-family: 'Prompt', sans-serif;
        }

        .highlight-text .light {
            color: #f4a52d; /* กำหนดสีให้กับคำว่า "light" */
            font-weight: bold; /* ทำให้ตัวอักษรหนาขึ้น */
            font-size: 30px;
            font-family: 'Prompt', sans-serif;
        }

        .highlight-text img {
        width: 45px; 
        height: 45px;
        vertical-align: middle; 
        margin-bottom: 10px;
        }
        .highlight-text1 {
            font-size: 16px;
            color: #333;
            text-align: left;  /* ทำให้ข้อความชิดซ้าย */
            margin-top: 10px;
            padding-left: 10px;  /* เพิ่มระยะห่างทางซ้าย */
            line-height: 1.6;  /* เพิ่มระยะห่างบรรทัดเพื่อให้อ่านง่าย */
}
        .highlight-text1 strong {
            font-size: 24px; /* เพิ่มขนาดตัวอักษร */
            font-weight: bold; /* ทำให้หนาขึ้น */
            color: #4682B4; /* กำหนดสีตัวอักษร */
}


footer {
    margin-top: 60px; /* เพิ่มระยะห่างจากเนื้อหาด้านบน */
    background-color: #f4a52d;
    color: white;
    padding: 25px 0;
    font-family: 'Prompt', sans-serif; /* หรือฟอนต์ที่ต้องการ */
    font-size: 14px;
    color: white;
}

.footer-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    flex: 1;
}

.about {
    max-width: 50%;
    max-width:none;
    text-align: left;
    white-space:nowrap
}

.contact {
    text-align: left;
    flex: 1;
    padding-left: 200px;
}

.links {
    flex: 1;
    text-align: left;
    padding-left: 200px; /* ทำให้ไม่ชิดขอบเกินไป */
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.footer-section p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color:black;
}

.footer-divider {
    width: 100%;
    margin: 30px auto;
    border-top: 2px solid white;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

   /* แถบเมนูด้านบน */
   .navbar {
    background-color: #f4a52d; 
    padding: 5px 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    text-align: center;
    border-radius: 0; /* ไม่มีมุมโค้ง */
    box-shadow: none; /* ลบเงาออก */
    margin: 0; /
}


.navbar-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* จัดเมนูให้อยู่กลาง */
    align-items: center; /* จัดเมนูให้อยู่กลางในแนวตั้ง */
    border-radius: 0; /* ไม่มีมุมโค้ง */
    margin: 0; /
    flex-wrap:wrap;
    font-family: 'Prompt', sans-serif;
}
/* เพิ่มลูกศรลงข้างๆ เมนูที่มีรายการย่อย */
.navbar-menu .dropdown > a::after {
    content: '\f0d7'; /* Unicode สำหรับลูกศรลง */
    font-family: 'Font Awesome 5 Free'; /* ใช้ Font Awesome สำหรับลูกศร */
    font-weight: 900; /* ทำให้ลูกศรหนา */
    margin-left: 8px; /* เว้นระยะจากชื่อเมนู */
    transition: transform 0.3s ease; /* การหมุนลูกศร */
}

/* หมุนลูกศรเมื่อเมนูย่อยเปิด */
.navbar-menu .dropdown:hover > a::after {
    transform: rotate(180deg); /* หมุนลูกศรเมื่อเมนูเปิด */
}


.navbar-menu li {
    margin: 0 17px;
    white-space: nowrap;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
}

.navbar-menu a:hover {
    color: /* เปลี่ยนสีเมื่อ hover */
}

body {
    padding-top: 60px; /* เพิ่มพื้นที่ให้เนื้อหาหลักไม่ถูกบัง */
}
/* Dropdown Container */
.navbar-menu .dropdown {
    position: relative;
    display: inline-block;
    border-radius: 0; /* ไม่มีมุมโค้ง */
}

/* Dropdown Button */
.navbar-menu .dropdown > a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
    border-radius: 0; /* ไม่มีมุมโค้ง */
}
/* Dropdown Content (Hidden by default) */
.navbar-menu .dropdown-content {
    display: none;
    position: absolute;
    background-color:  #f4a52d; 
    min-width: 160px;
    z-index: 1;
    left: 0;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
}

/* Dropdown Links */
.navbar-menu .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 0; /* ไม่มีมุมโค้ง */
}

/* Change color on hover */
.navbar-menu .dropdown-content a:hover {
    background-color:rgb(182, 109, 0);;
}

/* Show the dropdown on hover */
.navbar-menu .dropdown:hover .dropdown-content {
    display: block;
}


        .menu ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .menu ul li {
            padding: 15px 20px;
            border-bottom: 1px solid #ddd;
        }
        .menu ul li:last-child {
            border-bottom: none;
        }
        .menu ul li a {
            text-decoration: none;
            color: white;
        }
        .menu ul li a:hover {
            color:black;
        }
        /* Carousel Styles */
        .carousel {
    position: relative;
    width: 100%;
    max-width: 600px; /* กำหนดขนาดสูงสุดของ carousel */
    margin: 20px auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    border-radius: 8px; 
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #f4a52d;
}
.info-box {
    background-color: rgba(255, 255, 255, 0.9); /* กล่องพื้นหลังขาวใส */
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 20px 25px;
    margin: 30px auto;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.highlight-text1 {
    font-size: 16px;
    color: #333;
    text-align: left;
    margin-top: 10px;
    padding: 20px; /* เพิ่ม padding รอบข้อความ */
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.9); /* กล่องพื้นหลังโปร่งแสง */
    border-radius: 10px; /* มุมโค้ง */
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* เงาบางๆ */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

