body {
            font-family: 'Kanit', sans-serif;
        }
        /* Header Top Section */
        .header-top {
            background-color: #ec750e;
            color: #fff;
            font-size: 14px;
            padding: 5px 0;
        }

        .header-top a {
            color: #fff;
            text-decoration: none;
            margin-left: 10px;
        }

        /* Header Main Section */
        .header-main {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .header-main .logo img {
            height: 60px;
        }

        .header-main .contact {
            font-size: 14px;
            font-weight: bold;
            color: #1a2d5f;
        }

        /* Navbar Link Styles */
.navbar-nav .nav-item {
    margin: 0 15px; /* เพิ่มช่องว่างระหว่างแต่ละเมนู */
}
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item {
    color: #000 !important;
}



/* ทำให้ dropdown menu แสดงด้านล่างของเมนูหลัก */
.dropdown-submenu .dropdown-menu {
    top: 100%;
    left: 0;
    margin-top: 0;
}

/* ปรับ dropdown ให้แสดงเมื่อคลิก */
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: block;
}



        /* Header Banner Section */
        .header-banner {
            position: relative;
            text-align: center;
        }

        .header-banner img {
            width: 100%;
            height: auto;
        }

        .header-banner .banner-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #fff;
            font-size: 2.5em;
            font-weight: bold;
        }

        /* Form Title */
        .form-title {
    text-align: center;
    font-size: 1.5em;
    color: #1a2d5f;
    margin: 30px 0;
    position: relative;
}

@media (max-width: 768px) {
    .footer .col-md-3 h5 {
        margin-top: 20px; /* ปรับระยะห่างด้านบน */
    }
}

.error {
      border: 1px solid red !important; /* กรอบสีแดงเมื่อผิด */
      outline: none;
    }
    .error-message {
      color: red;
      font-size: 12px;
      margin-top: 5px;
    }


/* Mobile: Hide all submenus initially */
@media (max-width: 768px) {
  .dropdown-menu {
    display: none;
    position: relative;
  }

  
}


.line-container {
    display: inline-block;
    width: 150px;  /* กำหนดความกว้างของภาพ */
}

.line-icon {
    width: 100%;    /* ความกว้างจะเป็น 100% ของ .line-container */
    height: auto;   /* ความสูงจะปรับอัตโนมัติตามสัดส่วนของภาพ */
    transition: opacity 0.3s ease-in-out;
}

.line-container:hover .line-icon {
    content: url('images/Line-2_0.png');
}

.form-title::after {
    content: '';
    display: block;
    width: 5%; /* ปรับความยาวของเส้นตามต้องการ */
    height: 3px; /* ความหนาของเส้น */
    background-color: #C97F3D; /* สีของเส้น */
    margin: 10px auto 0; /* ระยะห่างจากข้อความ */
}

.form-subject {
    text-align: center;
    font-size: 1em;
    color: #ffffff; /* สีข้อความเป็นสีขาวเพื่อความชัดเจน */
    background-color: #111873; /* สีพื้นหลัง */
    border-radius: 10px; /* ทำให้ขอบมล */
    padding: 10px 20px; /* เพิ่มพื้นที่รอบข้อความ */
    margin: 5px 0;
    display: inline-block; /* ปรับขนาดให้พอดีกับข้อความ */
	max-width: 237px;
  width: 100%;
}
.form-subjectdetail {
    text-align: center;
    font-size: 1em;
    color: #ffffff; /* สีข้อความเป็นสีขาวเพื่อความชัดเจน */
    background-color: #69AFF3; /* สีพื้นหลัง */
    border-radius: 10px; /* ทำให้ขอบมล */
    padding: 10px 20px; /* เพิ่มพื้นที่รอบข้อความ */
    margin: 5px 0;
    display: inline-block; /* ปรับขนาดให้พอดีกับข้อความ */
	max-width: 237px;
  width: 100%;
}
.form-subjectdetailcompany {
    text-align: center;
    font-size: 1em;
    color: #ffffff; /* สีข้อความเป็นสีขาวเพื่อความชัดเจน */
    background-color: #2887C0; /* สีพื้นหลัง */
    border-radius: 10px; /* ทำให้ขอบมล */
    padding: 10px 20px; /* เพิ่มพื้นที่รอบข้อความ */
    margin: 5px 0;
    display: inline-block; /* ปรับขนาดให้พอดีกับข้อความ */
	max-width: 237px;
  width: 100%;
}

ol {
    list-style-type: decimal;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

input[type="file"] {
    margin-top: 5px;
}




        @media (max-width: 768px) {
            .header-main .navbar-nav {
                text-align: center;
            }

            .header-banner .banner-text {
                font-size: 1.5em;
            }

            .header-main .contact {
                text-align: center;
                margin-top: 10px;
            }
        }




/* ฟอร์มโดยรวม */
.personal-info-form {
    width: 100%;
    margin: 20px auto;
}

/* แถวของฟอร์ม */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

/* คำนำหน้าแบบ Radio */
.radio-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}


/* ปุ่มส่งข้อมูล */
button {
    padding: 10px;
    font-size: 16px;
    background-color: #EE750D;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}


button:hover {
    background-color: #111873;
}

.navbar-toggler:hover{
	background-color: transparent;
}

  /* Footer Section */
        .footer {
            background-color: #162362; /* สีน้ำเงิน */
            color: white;
            padding: 40px 0;
        }
        .footer .logo {
            font-size: 24px;
            font-weight: bold;
        }
        .footer .logo span {
            color: white;
        }
        .footer p {
            font-size: 14px;
        }
        .footer a {
            color: white;
            text-decoration: none;
        }
        .footer a:hover {
            text-decoration: underline;
        }
        .footer .social-icons i {
            font-size: 24px;
            color: white;
            margin: 0 10px;
            transition: 0.3s;
        }
        .footer .social-icons i:hover {
            color: #f57c00;
        }

        /* Footer Bottom Section */
        .footer-bottom {
            background-color: #f57c00; /* สีส้ม */
            text-align: center;
            padding: 10px 0;
            color: white;
            font-size: 14px;
        }


