 /* ฟอนต์สำหรับภาษาอังกฤษ */
 @font-face {
     font-family: "main_font";
     src: url("/frontend/fonts/ITCAVANTGARDESTDBK.OTF") format("opentype");
     unicode-range: U+0000-007F;
     /* Latin Basic (ภาษาอังกฤษ) */
 }

 /* ฟอนต์สำหรับภาษาไทย */
 @font-face {
     font-family: "main_font";
     src: url("/frontend/fonts/MosseThai-Medium.otf") format("opentype");
     unicode-range: U+0E00-0E7F;
     /* Thai */
 }

 body {
     font-family: "main_font";
     color: #003057;
     font-weight: 500;
     letter-spacing: 1px;
     font-size: 1em !important;
 }

 a {
     text-decoration: none !important;
 }

 .text-main {
     font-family: "main_font";
     color: 003057 !important;
 }

 .text-main p {
     text-align: justify;
     line-height: 1.8;
     /* ปรับให้สบายตา */
     margin-bottom: 1rem;
     /* เพิ่มช่องไฟระหว่างพารากราฟ */
 }

 .navbar-transparent {
     background-color: #003057;
 }

 .navbar-toggler {
     background-color: aliceblue !important;
 }

 /* Default navbar style (when scrolled) */
 .navbar-custom {
     background-color: #003057 !important;
     transition: all 0.3s ease-in-out;
 }

 .navbar-brand img {
     width: 150px;
     transition: opacity 0.3s ease-in-out;
 }

 .justify-responsive {
     justify-content: flex-start;
     /* ค่า default บนหน้าจอเล็ก */
 }

 @media (min-width: 1367px) {
     .justify-responsive {
         justify-content: center !important;
     }
 }

 .nav-item {
     padding: 0px 5px;
     font-weight: bold;
 }

 .custom-btn {
     font-family: "main_font" !important;
     background: linear-gradient(to right, #99d9de, #a1c661);
     border: none !important;
     border-radius: 20px !important;
     /* padding: 5px 15px !important; */
     font-size: 1rem !important;
     font-weight: bold !important;
     color: #003057 !important;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
     align-self: center;
 }


 .custom-btn:hover {
     opacity: 0.9;
 }

 .btn-locale-home {
     cursor: pointer;
     padding: 5px;
     background: linear-gradient(to right, #99d9de, #a1c661);
     border: 4px solid #fff;
     color: #fff;
     border-radius: 50%;
     text-decoration: none;
     display: inline-block;
     text-align: center;
     font-size: 1.5rem;
 }

 .btn-locale-home:hover {
     background-color: #fff;
     color: #003057;
 }

 .nav-text-pantone {
     font-family: "main_font" !important;
     color: #fff !important;
     font-size: 1rem;
 }

 @media (min-width: 769px) and (max-width: 1366px) {
     .nav-text-pantone {
         font-size: 0.75rem !important;
     }
 }

 .navbar .dropdown:hover .dropdown-menu {
     display: block;
     margin-top: 0;
     opacity: 1;
     visibility: visible;
     transition: all 0.3s ease-in-out;
 }

 .navbar .dropdown-menu {
     display: none;
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
 }

 .navbar .dropdown-item {
     color: #003057;
     /* font-weight: bold; */
 }

 .navbar .dropdown-item:hover {
     background-color: #0056b3;
     color: #fff;
 }


 .nav-item:hover .nav-text-pantone {
     color: #99d9de !important;
 }

 .navbar,
 .navbar-nav .nav-link,
 .navbar-brand {
     font-family: "main_font" !important;
 }

 #loading-screen {
     position: fixed;
     width: 100%;
     height: 100%;
     background: #38517E;
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
     top: 0;
     left: 0;
 }

 /* Loading Spinner */
 .spinner {
     width: 50px;
     height: 50px;
     border: 5px solid #003057;
     border-top: 5px solid #99d9de;
     border-radius: 50%;
     animation: spin 1s linear infinite;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 .nav-div-end {
     background-color: #38517E;
     padding: 5px 15px;
     border-radius: 25px;
     display: flex;
     justify-content: flex-end;
 }

 .btn-locale {
     cursor: pointer;
     padding: 5px;
     background-color: #003057;
     border: 4px solid #fff;
     color: #fff;
     border-radius: 50%;
     text-decoration: none;
     /* ลบเส้นใต้ */
     display: inline-block;
     text-align: center;
     font-size: 1rem;
 }

 .btn-locale:hover {
     background: linear-gradient(to right, #99d9de, #a1c661);
 }


 .section {
     padding-top: 150px;
     padding-bottom: 150px;
 }

 @keyframes border-angle-rotate {
     from {
         --border-angle: 0deg;
     }

     to {
         --border-angle: 360deg;
     }
 }

 @property --border-angle {
     syntax: "<angle>";
     initial-value: 0deg;
     inherits: false;
 }

 .investor {
     background: url("/frontend/image/Investor/business-finance-investment-background.jpg");
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;
     padding-top: 20rem;
     padding-bottom: 20rem;
     margin-top: -10rem;
 }

 .body-set {
     --border-angle: 0deg;
     color: #fff !important;
     width: 40rem;
     max-width: 40rem;
     padding: 20px;
     text-align: center;
     border-radius: 12px;
     position: relative;
     border: 4px solid transparent;
     background: linear-gradient(61deg, #1b1464, #00adee) padding-box,
         conic-gradient(from var(--border-angle), #00adee, #1b1464, #00adee) border-box;
     animation: border-angle-rotate 3s linear infinite;
     box-shadow: 0px 2px 10px rgba(0, 173, 238, 0.7);
     color: #1b1464;
     font-weight: bold;
 }

 .fs-075 {
     font-size: 0.75rem;
 }

 @media (max-width: 480px) {
     .fs-075 {
         font-size: 0.5rem;
     }
 }

 /*--------------------------------------------------------------
#START content
--------------------------------------------------------------*/
 .content {
     margin-top: 68px;
 }

 /*--------------------------------------------------------------
#END content
--------------------------------------------------------------*/

 /*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
 #footer {
     font-family: "main_font";
     font-size: 14px;
 }

 #footer .footer-newsletter {
     padding: 150px 10%;
     font-size: 14px;
     color: #fff;
 }

 #footer .footer-newsletter h4 {
     font-size: 24px;
     margin: 0 0 20px 0;
     padding: 0;
     line-height: 1;
     font-weight: 600;
     color: #37517e;
 }

 #footer .footer-newsletter .form {
     background: #fff;
     padding: 6px 10px;
     position: relative;
     border-radius: 50px;
     box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
     text-align: left;
 }

 #footer .footer-newsletter .form input[type="email"] {
     border: 0;
     padding: 4px 8px;
     width: calc(100% - 100px);
 }

 #footer .footer-newsletter .form input[type="submit"] {
     position: absolute;
     top: 0;
     right: 0;
     bottom: 0;
     border: 0;
     background: none;
     font-size: 14px;
     padding: 0 20px;
     background: #003057;
     color: #fff;
     transition: 0.3s;
     border-radius: 50px;
     box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
     font-family: "itc_reg", "mosse_reg";
 }

 #footer .footer-newsletter .form input[type="submit"]:hover {
     background: #fff;
     color: #003057;
     border: 1px solid #003057;
 }

 #footer .footer-top {
     padding: 60px 0 30px 0;
     background: #fff;
 }

 #footer .footer-top .footer-contact {
     margin-bottom: 30px;
 }

 #footer .footer-top .footer-contact h3 {
     font-size: 28px;
     margin: 0 0 10px 0;
     padding: 2px 0 2px 0;
     line-height: 1;
     text-transform: uppercase;
     font-weight: 600;
     color: #37517e;
 }

 #footer .footer-top .footer-contact p {
     font-size: 14px;
     line-height: 24px;
     margin-bottom: 0;
     font-family: "itc_reg", "mosse_reg";
     color: #5e5e5e;
 }

 #footer .footer-top h4 {
     font-size: 16px;
     font-weight: bold;
     color: #37517e;
     position: relative;
     padding-bottom: 12px;
 }

 #footer .footer-top .footer-links {
     margin-bottom: 30px;
 }

 #footer .footer-top .footer-links ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 #footer .footer-top .footer-links ul i {
     padding-right: 2px;
     color: #47b2e4;
     font-size: 18px;
     line-height: 1;
 }

 #footer .footer-top .footer-links ul li {
     padding: 10px 0;
     display: flex;
     align-items: center;
 }

 #footer .footer-top .footer-links ul li:first-child {
     padding-top: 0;
 }

 #footer .footer-top .footer-links ul a {
     color: #777777;
     transition: 0.3s;
     display: inline-block;
     line-height: 1;
 }

 #footer .footer-top .footer-links ul a:hover {
     text-decoration: none;
     color: #47b2e4;
 }

 #footer .footer-top .social-links a {
     font-size: 18px;
     display: inline-block;
     background: #47b2e4;
     color: #fff;
     line-height: 1;
     padding: 8px 0;
     margin-right: 4px;
     border-radius: 50%;
     text-align: center;
     width: 36px;
     height: 36px;
     transition: 0.3s;
 }

 #footer .footer-top .social-links a:hover {
     background: #209dd8;
     color: #fff;
     text-decoration: none;
 }

 #footer .footer-bottom {
     padding-top: 30px;
     padding-bottom: 30px;
     color: #fff;
 }

 #footer .copyright {
     float: left;
 }

 #footer .credits {
     float: right;
     font-size: 13px;
 }

 #footer .credits a {
     transition: 0.3s;
 }

 #footer .posit-abs {
     position: absolute;
     top: 2%;
 }

 #footer .posit-ab {
     position: absolute;
 }

 #footer .bg-gd {
     height: -webkit-fill-available;
     position: absolute;
     top: 0;
     width: 100%;
     /* z-index: 999; */
 }

 #footer .bg-b,
 #footer .bg-b a {
     background: #003057;
     color: #fff;
 }

 #footer .bg-b a:hover {
     color: #00c9d4;
 }

 #footer .bg-grey {
     background: #c6c6c6;
     font-size: 14px;
 }

 #footer .t-blue {
     color: #003057;
 }

 #footer .bg-subscribe {
     background-image: url(/frontend/image/Home/svg/footer-gladius.svg),
         url(/frontend/image/Home/png/bg-footer.png);
     background-repeat: no-repeat;
     background-size: cover;
     background-position: left, center;
 }

 /*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/