@media (max-width: 414px) {
  .navbar {
    padding: 1rem;
  }
}

.logo,
.navbar-sidebar {
  border-radius: 5px;
}

.page-header-alpha .navbar-sidebar {
  background-color: #fff;
  padding: 5px 10px;
  width: 223px;
}

.body-page .page-header-alpha .navbar-sidebar .nav-item.active .txt {
  font-weight: 300;
  font-size: 18px;
}

@media (max-width: 1024px) {
  .section-home {
    min-height: auto;
  }
  .banner {
    background-position: 70% 0% !important;
  }
}

@media (max-width: 450px) {
  .section-home {
    min-height: auto;
  }
  .body-page .page-header-alpha .navbar-sidebar .nav-item.active .txt {
    font-weight: normal;
    font-size: 1.5rem;
  }
  .navbar-mainmenu {
    display: none;
  }

  .section-content .title-desc {
    margin-right: 40px;
  }

  .banner {
    background-position: 70% 0% !important;
  }

  .page-header-alpha .navbar-sidebar {
    width: initial;
  }
}

.slogan2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.title-desc .text .title {
  font-size: 22px;
}
.title-desc .text .subtitle {
  font-size: 16px;
  margin-top: 10px;
}

.slogan2,
.banner .section-content h4,
.banner .section-content h4 strong,
.title-desc .text .subtitle {
  color: white;
}

.section-content h4 div {
  margin-top: 8px;
  font-size: 15px;
}

.footer-left,
.scrolldown1 .txt {
  background-color: white;
  -webkit-background-clip: text;
  background-clip: text;
}

.page-footer .footer-left p {
  color: #999;
  background-color: white;
  -webkit-background-clip: text;
  background-clip: text;
}

div.site-header {
  position: relative;
}

div.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 350px; /* กำหนดความกว้างของพื้นหลังสีขาว */
  height: 100%;
  background: #ffffff;
  z-index: -1; /* ให้ไปอยู่หลังโลโก้และเมนู */
}

@media (min-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
  .display-title {
    margin-bottom: 1.5rem;
  }
  .section-service p,
  .section-service ul {
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .section .section-wrapper {
    max-width: 900px;
  }
}
