:root {
  --alt-font: "Prompt", sans-serif;
  --primary-font: "Prompt", sans-serif;
}

.text-gold {
  color: #ddc2a0;
}

.text-gold-2 {
  color: #d3b184;
}

.text-shadow-white {
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.9);
}

.text-blue-2 {
  color: #343a93;
}

.text-gray-2 {
  color: #605e5a;
}

.text-gray-3 {
  color: #9a9795;
}

.text-gray-4 {
  color: #cccccc;
}

.text-gray-5 {
  color: #888888;
}

.text-gray-6 {
  color: #bbbbbb;
}

.text-gray-7 {
  color: #aaaaaa;
}

.text-dark-2 {
  color: #17213e;
}

.text-dark-3 {
  color: #232323;
}

.bg-blue-2 {
  background-color: #343a93;
}

.bg-gray-2 {
  background-color: #f2f2f0;
}

.bg-gray-3 {
  background-color: #e8e8e6;
}

.btn-about-1 {
  font-size: 12px;
  color: #343a93;
  background-color: #ddc2a0;
  padding: 8px 50px;
  border: 1px solid #ddc2a0;
}

.btn-about-1:hover {
  color: #ddc2a0;
  background-color: transparent;
  border: 1px solid #ddc2a0;
}

.btn-custom-contact {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  background-color: #232323;
  padding: 10px 40px;
  border: 1px solid #232323;
}

.btn-custom-contact:hover {
  color: #232323;
  background-color: transparent;
  border: 1px solid #232323;
}

.btn-custom-contact-2 {
  font-size: 18px;
  color: #ff0000;
  font-weight: 400;
  background-color: transparent;
  padding: 10px 40px;
  border: 1px solid #ff0000;
}

.btn-custom-contact-2:hover {
  color: #fff;
  background-color: #ff0000;
  border: 1px solid #ff0000;
}

.btn-custom-blog {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  background-color: #343994;
  padding: 5px 40px;
  border: 1px solid #343994;
}

.btn-custom-blog:hover {
  color: #343994;
  background-color: transparent;
  border: 1px solid #343994;
}

/* Header */
.header-logo {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.btn-language {
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 5px;
}

.btn-header-custom {
  font-size: 18px;
  padding: 8px 15px;
  font-weight: 500;
  background-color: transparent;
  border-width: 1px !important;
  border-color: rgb(255, 255, 255) !important;
  color: var(--white) !important;
}

.btn-header-custom:hover {
  background-color: #343a93 !important;
  color: var(--white);
}

/* Footer */
footer .nav-link {
  color: #bbbbbb;
}

.footer-light a:hover,
.footer-navbar li a:hover {
  color: #ddc2a0;
}

.menu-footer li {
  list-style: disc;
  margin-bottom: 5px;
}

.menu-footer li a {
  color: #bbbbbb;
  font-size: 14px;
  font-weight: 400;
}

.text-contact a {
  color: #bbbbbb;
}

.text-contact .label {
  margin-right: 5px;
  white-space: nowrap;
}

.text-contact .numbers {
  display: flex;
  flex-direction: column;
}

.border-color-extra-medium-gray-2 {
  border-color: #736887 !important;
}

footer .elements-social.social-icon-style-02 li {
  border: 1px solid #49519c;
  padding: 15px;
  margin: 0 5px 0 0;
}

footer .footer-logo {
  gap: 10px;
}

footer .footer-logo img {
  max-height: 100%;
}

/* banner */
.banner-title {
  font-size: 60px;
}

.banner-subtitle {
  font-size: 30px;
  line-height: 34px;
}

/* contact */

.text-contact-custom {
  background-color: #d3b184;
  color: #fff;
  text-align: center;
  padding: 5px;
}

/* portfolio */
.category-portfolio a {
  display: block;
  background-color: transparent;
  border: 1px solid #d3b184;
  padding: 8px 20px;
  margin-bottom: 20px;
  color: #232323;
  font-size: 20px;
  font-weight: 600;
}

.category-portfolio a:hover,
.category-portfolio a.active {
  background-color: #d3b184;
  border: 1px solid #d3b184;
  color: #fff;
}

@media (max-width: 991px) {
  .category-portfolio a {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .tabs-mobile {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tabs-mobile a {
    flex: 0 0 auto;
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
  }

  /* ซ่อน scrollbar */
  .tabs-mobile::-webkit-scrollbar {
    display: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 2s;
  animation-delay: 0.2s;
}

.header-contact a {
  display: none !important;
}

@media (max-width: 991px) {
  header .navbar-brand {
    padding: 10px 0;
  }

  header.sticky .navbar-brand {
    padding: 10px 0;
  }

  header .navbar-brand .mobile-logo {
    width: 50px !important;
  }

  .btn-language {
    font-size: 14px;
  }

  .header-contact a {
    display: block !important;
  }

  /* header .header-logo h1 {
        display: none;
    } */

  .btn-header-custom {
    font-size: 12px;
    padding: 5px 10px;
  }

  .banner-title {
    font-size: 30px;
    line-height: 40px;
  }

  .banner-subtitle {
    font-size: 20px;
    line-height: 28px;
  }

  .qrcode li a img {
    width: 90px;
  }

  .sticky-buttons.-large .sb-icon {
    width: 40px;
  }

  .sticky-buttons.-large .sb-icon,
  .sticky-buttons.-large .sb-label {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header.sticky.sticky-active .navbar-brand .alt-logo {
    width: 50px;
  }

  header .header-logo h1 {
    display: none;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 14px;
    padding: 10px 10px;
  }

  .btn-language {
    font-size: 12px;
  }

  .btn-header-custom {
    font-size: 12px;
    padding: 5px 10px;
  }

  .banner-title {
    font-size: 40px;
    line-height: 55px;
  }

  .banner-subtitle {
    font-size: 20px;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  header.sticky.sticky-active .navbar-brand .alt-logo {
    width: 50px;
  }

  header .header-logo h1 {
    font-size: 14px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 15px;
    padding: 10px 10px;
  }

  .btn-language {
    font-size: 14px;
  }

  .btn-header-custom {
    font-size: 14px;
    padding: 5px 10px;
  }

  .banner-title {
    font-size: 40px;
    line-height: 55px;
  }

  .banner-subtitle {
    font-size: 24px;
  }
}

@media (min-width: 1300px) and (max-width: 1399px) {
  header.sticky.sticky-active .navbar-brand .alt-logo {
    width: 50px;
  }

  header .header-logo h1 {
    font-size: 14px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 14px;
    padding: 10px 10px;
  }

  .btn-language {
    font-size: 16px;
  }

  .btn-header-custom {
    font-size: 16px;
    padding: 5px 10px;
  }

  .banner-title {
    font-size: 40px;
    line-height: 55px;
  }

  .banner-subtitle {
    font-size: 24px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  header.sticky.sticky-active .navbar-brand .alt-logo {
    width: 50px;
  }

  header .header-logo h1 {
    font-size: 16px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 10px;
  }

  .btn-language {
    font-size: 16px;
  }

  .btn-header-custom {
    font-size: 16px;
    padding: 5px 10px;
  }

  .banner-title {
    font-size: 40px;
    line-height: 55px;
  }

  .banner-subtitle {
    font-size: 24px;
  }
}

@media (min-width: 1600px) and (max-width: 1799px) {
  header .header-logo h1 {
    font-size: 20px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 20px;
    padding: 10px 10px;
  }

  .banner-title {
    font-size: 55px;
    line-height: 70px;
  }
}

.text-editer p {
  margin-bottom: 5px;
  color: initial;
}

/*  */
.legal-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* หัวข้อหลัก */
.menu-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  position: relative;
}

.menu-title::before {
  content: "";
  width: 5px;
  height: 100%;
  background: #c59d5f; /* สีเน้น */
  position: absolute;
  left: -15px;
  top: 0;
  border-radius: 4px;
}

.menu-section {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

/* ระดับรอง */
.menu-level-2 > li > a {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  display: block;
  padding: 4px 0;
}

.menu-level-2 > li > a:hover {
  color: #c59d5f;
}

/* หัวข้อย่อยระดับลึก */
.submenu-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
  display: block;
  color: #333;
}

/* ระดับที่ 3 */
.menu-level-3 {
  padding-left: 15px !important;
  margin-top: 6px;
}

.menu-level-3 li a {
  font-size: 14px;
  color: #555;
  padding: 0 0 4px;
  display: block;
}

.menu-level-3 li a:hover {
  color: #c59d5f;
}

/* =========================
   RESPONSIVE - MOBILE
========================= */
@media (max-width: 991px) {
  .menu-title {
    font-size: 16px;
    padding: 0;
    margin-bottom: 0;
    cursor: pointer;
  }

  .menu-title::before {
    left: -10px;
    display: none;
  }

  .menu-level-2 {
    display: none;
    margin-top: 10px;
  }

  .menu-section.active .menu-level-2 {
    display: block;
  }

  .menu-level-2 > li > a {
    font-size: 15px;
    padding: 6px 0;
  }

  .submenu-title {
    font-size: 15px;
    padding: 8px 0;
    cursor: pointer;
  }

  .menu-level-3 {
    display: none;
    padding-left: 12px;
    margin-top: 5px;
  }

  .submenu-group.active .menu-level-3 {
    display: block;
  }

  .menu-level-3 li a {
    font-size: 14px;
    padding: 5px 0;
  }
}
