@import url("https://fonts.googleapis.com/css2?family=Mitr:wght@300;400;500;700&family=Noto+Sans+Thai:wght@300;400;500;700&display=swap");
* {
  font-family: "Mitr", sans-serif;
  font-family: "Noto Sans Thai", sans-serif;
}

body {
  background: #e0e1f5;
}
p {
  margin-bottom: 0 !important;
}
.swiper-pagination-bullet-active {
  background-color: #2a2568 !important;
}
.swiper-pagination-bullet {
  width: 0.75rem !important;
  height: 0.75rem !important;
}
.swiper-pagination {
  padding-right: 5rem !important;
}

.header {
  min-height: 100vh;
  background-image: url("../resources/images/businesspeople3.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}
.nav {
  height: 6rem;
  flex-wrap: nowrap !important;
}
.img-logo {
  width: 18rem;
}
.nav-menus,
.nav-items {
  display: flex;
  align-items: center;
}
.nav-menu {
  margin: 0 3rem;
}
.nav-item {
  margin-left: 2rem;
}
.nav-menu > a,
.nav-item > a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
}
.nav-menu > a:hover,
.nav-item > a:hover {
  text-decoration: underline;
  font-weight: 700;
}
.hamburger div {
  width: 30px;
  height: 3px;
  background: #f2f5f7;
  margin: 5px;
  transition: all 0.3s ease;
}
.hamburger {
  display: none;
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  transition: all 0.7s ease;
  width: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

.header-title {
  font-size: 3rem;
  color: #fff;
  font-weight: 700;
}
.header-desc {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.header-slide {
  height: 23rem;
  width: 80%;
}

.header-slide__item {
  display: flex;
  justify-content: space-between;
  padding: 3rem;
  border-radius: 3rem;
  background-image: url("../resources/images/banner.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.header-slide__item2 {
  display: flex;
  justify-content: space-between;
  padding: 3rem;
  border-radius: 3rem;
  background-image: url("../resources/images/banner.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow:
    inset 1px 1px 1px rgb(0 0 0 / 0.2),
    inset -3px -3px 5px rgb(0 0 0 / 0.2),
    1px 1px 1px rgb(0 0 0 / 0.2),
    -1px -1px 1px rgb(0 0 0 / 0.2);
}

.header-slide__title {
  padding-left: 2rem;
  padding-top: 2rem;
  color: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.header-slide__title > h3 {
  font-size: 3rem;
  font-style: italic;
  font-weight: 700;
}
.header-slide__title > p {
  font-size: 1.25rem;
  font-style: italic;
}
.header-btn {
  color: #2b296d;
  background: #e9e0f5;
  border-radius: 50px 50px 50px 0px;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: none;
  text-decoration: none;
}
.header-btn:hover {
  background: #fff;
}
.header-slide__img {
  width: 25rem;
}

.header-annou {
  height: 7rem;
  margin-bottom: 0.5rem;
  width: 80%;
}
.header-annou__img {
  width: 5rem;
}
.annouSwipper {
  flex-grow: 1;
}

.header-annou__item {
  color: #fff;
  padding-left: 1rem;
}
.header-annou__item > p {
  margin-bottom: 0 !important;
}

.annouSwiper .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 1;
}
.annouSwiper .swiper-pagination-bullet-active {
  background: #2a2568 !important;
}

.menu-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
}
.menu-wrapper__item {
  background: #2b296d;
  border-radius: 20px;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 1.5rem;
  color: #fff;
  width: 22rem;
}

.menu-wrapper__item_recommend {
  background: #2b296d;
  border-radius: 20px;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 1.5rem;
  color: #fff;
  width: 22rem;
  background-image: url("../resources/images/banner2.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.menu-wrapper__item_new {
  background: #2b296d;
  border-radius: 20px;
  cursor: pointer;
  padding: 1rem 0;
  font-size: 1.5rem;
  color: #fff;
  width: 22rem;
  background-image: url("../resources/images/banner3.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.menu-wrapper__img {
  width: 4rem;
  height: 4rem;
  margin-right: 1rem;
}

.text-wrapper {
  text-align: center;
  color: #2b296d;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.text-wrapper h3 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.text-wrapper p {
  font-size: 1.5rem;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.service-wrapper {
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
}
.service-item {
  position: relative;
  background: linear-gradient(180deg, #2a2568 0%, #433ab4 100%);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 10px 10px 20px rgb(0 0 0 / 25%);
  height: 20rem;
  width: 18%;
  padding: 1.5rem 1rem;
  text-align: center;
}
.service-item > div:nth-child(1) {
  height: 20%;
}
.service-item img {
  width: 10rem;
  height: 10rem;
}
.service-desc {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s;
  background-color: #fff;
  color: #2b296d;
  border-radius: 40px;
  text-align: center;
  padding: 0 1.2rem;
}
.service-desc > * {
  transform: translateY(20px);
  transition: transform 0.25s;
}

.service-item:hover > .service-desc {
  opacity: 1;
}
.service-item:hover > .service-desc > * {
  transform: translateY(0);
}
.service-desc__title {
  font-size: 1.2rem;
  font-weight: 700;
}
.service-item.active {
  opacity: 0;
}
.service-detail {
  /* position: absolute;
  top: 0;
  left: 50%;
  right: 50%; */
  min-height: 20rem;
  background: linear-gradient(180deg, #2a2568 0%, #433ab4 100%);
  box-shadow: 10px 10px 20px rgb(0 0 0 / 25%);
  border-radius: 40px;
  padding: 1rem;
  transition: all 0.5s;
}
/* .service-detail.active {
  left: 10px;
  right: 10px;
  opacity: 1;
} */
.service-detail__head > img {
  cursor: pointer;
}
.service-detail__head > h3 {
  margin-bottom: 0;
  margin-left: 1rem;
  color: #fff;
}
.service-detail__img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.service-detail__img > img {
  width: 10rem;
}
.service-detail__item {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.service-detail__item > img {
  width: 5rem;
}
.service-detail__item > h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
}
.service-detail__item > div > p {
  font-size: 0.8rem;
}

.service-detail__footer {
  text-align: end;
}
.service-detail__footer > button {
  background-color: #fff;
  color: #2b296d;
  border-radius: 50px;
  box-shadow: 0 0 10px #2d3990;
}
.service-detail-2 {
  margin-top: 2rem;
}

.breakline-wrapper {
  position: relative;
  height: 5rem;
}

.breakline {
  position: absolute;
  width: 40rem;
  height: 0.563rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #433ab4 0%, #2b296d 99.28%);
  border-radius: 0px 0px 6.5px 6.5px;
}

.service-fee,
.document {
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.service-fee__header,
.document__header {
  color: #2b296d;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
}
.service-fee__line,
.document__line {
  height: 0.4rem;
  width: 37rem;
  background-color: #2b296d;
  position: relative;
  left: -20%;
}
.service-charge {
  background-color: #fff;
  border-radius: 30px;
  padding: 1rem;
}
.service-charge__head {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2b296d;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.service-charge__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #433ab4;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.service-charge__item {
  font-size: 1.2rem;
  color: #2b296d;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.service-charge__item > div:nth-child(1) {
  padding-left: 1.5rem;
}
.service-charge__footer {
  color: #7b7a7a;
  margin-top: 1rem;
}
.service-fee__img {
  width: 100%;
  height: 80%;
}

.document-item {
  background-color: #fff;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #2b296d;
  cursor: pointer;
  padding: 1rem 0.5rem 1rem 1rem;
  margin: 0.5rem;
}
.document-item i {
  font-size: 1.5rem;
}
.document-item:hover {
  background-color: #2b296d;
  color: #fff;
}
.footer {
  background: #2a2568;
  padding: 2rem 0;
}
.footer-logo {
  width: 7rem;
  height: 7rem;
}
.footer-contact,
.footer-app {
  color: #fff;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
  font-size: 1rem;
}
.footer-contact .title,
.footer-app .title {
  font-size: 1.5rem;
  font-weight: 500;
}
.footer-contact .detail,
.footer-app .detail {
  margin-top: 1rem;
}
.footer-social > a {
  margin-top: 1rem;
  margin-right: 1rem;
}
.footer-download {
  margin-top: 2.5rem;
}

@media (max-width: 1199.98px) {
  .nav-menu {
    margin: 0 1rem !important;
  }
  .nav-item {
    margin-left: 1rem;
  }

  .menu-wrapper__item {
    width: 18rem;
    font-size: 1.25rem;
  }
  .header-slide,
  .header-annou {
    width: 100%;
  }
  .header-slide__title {
    padding-top: 0;
  }
  .header-slide__title > h3 {
    font-size: 2.5rem;
  }
  .service-item {
    padding: 1.5rem 0.5rem;
  }
  .service-item img {
    width: 7rem;
    height: 7rem;
  }
  .service-item p {
    overflow-wrap: anywhere;
  }

  .footer-download {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

@media (max-width: 991.98px) {
  .nav.open {
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(287.5deg, rgba(42, 37, 104, 0.4) 30.37%, rgba(67, 58, 180, 0.4) 130.37%);
    justify-content: center !important;
  }
  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 2;
    transition: all 0.7s ease;
  }
  .nav-menus,
  .nav-items {
    display: none;
    flex-direction: column;
    margin: 1rem 0;
    opacity: 0;
    transition: all 0.5s ease 0.5s;
  }
  .nav.open .nav-menus,
  .nav.open .nav-items {
    display: flex;
    opacity: 1;
  }
  .nav-menu,
  .nav-item {
    margin: 1rem !important;
  }

  .header-slide__title > h3 {
    font-size: 2rem;
  }
  .header-slide__img {
    width: 18rem;
  }

  .menu-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu-wrapper__item {
    margin: 0.5rem;
  }
  .service-wrapper {
    overflow-x: scroll;
    padding: 1rem;
  }
  .service-item {
    width: 18rem;
    margin: 0 0.5rem;
  }
  .service-item p {
    overflow-wrap: unset;
  }
  .service-fee__line,
  .document__line {
    width: 30rem;
  }
  .service-fee__img {
    display: none;
  }
  .footer-contact,
  .footer-app {
    text-align: center;
  }
  .footer-social,
  .footer-download {
    justify-content: center !important;
    align-items: center !important;
  }
}
@media (max-width: 575.98px) {
  .nav {
    padding: 0 0.5rem;
  }
  .header > div:nth-child(2) {
    padding: 0 0.5rem;
  }
  .header-title {
    font-size: 2rem;
  }
  .header-desc {
    font-size: 1.25rem;
  }
  .header-slide {
    height: 22rem;
  }
  .header-slide__item {
    border-radius: 2rem;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
  }
  .header-slide__title {
    order: 2;
    margin-top: 1rem;
  }
  .header-slide__title > h3 {
    text-align: center;
  }
  .header-slide__img {
    width: 10rem;
  }
  .swiper-pagination {
    padding-right: 1rem !important;
    margin-top: 1rem !important;
    bottom: 3px !important;
  }
  .header-annou {
    height: 10rem;
  }
  .header-annou__img {
    width: 4rem;
  }
  .header-annou__item {
    font-size: 0.8rem;
  }
  .breakline {
    width: 20rem;
  }
  .service-fee__line,
  .document__line {
    width: 26rem;
  }
  .service-charge__head,
  .service-charge__title,
  .service-charge__item {
    font-size: 1rem;
  }
  .service-charge {
    padding: 1rem 0;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
  }
}
