/* h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 27px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

img {
  border: none;
  outline: none;
  max-width: 100%;
}

p {
  color: #666666;
  margin: 0 0 15px;
  text-transform: none;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Heebo", sans-serif;
  color: #0e2b3d;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
}

@media (max-width: 767px) {
  h4 {
    font-size: 20px;
    line-height: 1.4;
  }

  h5 {
    line-height: 1.4;
  }

  h6 {
    line-height: 1.4;
  }
}

b, strong {
  font-weight: 900;
}

a, li {
  font-family: "Heebo", sans-serif;
}

a, a:active, a:focus, a:hover {
  font-family: "Heebo", sans-serif;
  color: #0e2b3d;
  outline: none;
  text-decoration: none;
}

.default-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 767px) {
  .default-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
} */

.fw-100 { font-weight: 100 !important; }
.fw-200 { font-weight: 200 !important; }
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

:root {
  /* --bs-primary: #9900cc; */
  /* --bs-primary-rgb: 153, 0, 204; */
  --bs-primary: #173678;
  --bs-primary-rgb: 23, 54, 120;
  --bs-link-color: #8a00e5;
  --bs-link-color-rgb: 138, 0, 229;
  --bs-link-hover-color: #551a8b;
}

address, dl, ol, p, ul {
  margin-bottom: 20px;
}

.container {
  max-width: 1200px;
}
.btn {
  transition: all .2s linear;
  -webkit-transition: all .2s linear;
}
.btn-primary {
  /* --bs-btn-bg: #9900cc; */
  /* --bs-btn-hover-bg: #7b01a3; */
  --bs-btn-bg: #173678;
  --bs-btn-hover-bg: #0d2760;
  box-shadow: 0px 5px 15px rgba(49, 43.9, 136, 0.35);
}
.btn-primary:hover {
  box-shadow: 0px 5px 17px rgba(49, 43.9, 136, 0.45);
}


.btn-effect-1 {
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-effect-1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255,255,255,0.2);
  -webkit-transform-origin: right center;
  -moz-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: scale(0, 1);
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -o-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: -moz-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: -ms-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: -o-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-effect-1:hover:before {
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
}


.section-heading {
  margin-bottom: 20px;
}
.section-heading .heading {
  font-family: "Poppins", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  letter-spacing: -1px;
}
.section-heading .sub-heading {
  font-family: "Work Sans", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
}
.section-heading .desc {
  font-family: "Poppins", "Noto Sans Thai", sans-serif;
}

/* -----------------------------------------------------
section-page-title
----------------------------------------------------- */
#section-page-title {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
}

#section-page-title .section-heading .heading {
  font-size: 36px;
  line-height: 48px;
  color: #fff;
}

#section-page-title .section-heading .desc {
  margin-bottom: 15px;;
  font-family: "Open Sans", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  color: #ddd;
}

@media (max-width: 1024px) {
  #section-page-title {
    min-height: 220px;
  }
  #section-page-title .section-heading .heading {
    font-size: 24px;
    line-height: 36px;
  }
  #section-page-title .section-heading .desc {
    font-size: 12px;
  }
}

.breadcrumb {
  font-family: "Work Sans", "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.breadcrumb-item a {
  color: #fff;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: #ffc107;
}

/* -----------------------------------------------------
section-main-aboutus
----------------------------------------------------- */
#section-main-aboutus {
  position: relative;
}

#section-main-aboutus .section-heading .sub-heading {
  font-size: 12px;
  color: var(--bs-primary);
  margin: 0px 0px 20px 0px;
}

#section-main-aboutus .section-heading .heading {
  font-size: 32px;
  line-height: 42px;
  color: #263a4f;
  margin: 0px 0px 20px 0px;
}

#section-main-aboutus .section-heading .desc {
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--bs-primary);
  margin: 0px 0px 15px 0px;
}

@media (max-width: 1024px) {
  #section-main-aboutus .section-heading .heading {
    font-size: 24px;
    line-height: 36px;
  }
  #section-main-aboutus .section-heading .desc {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  #section-main-aboutus .section-heading .heading {
    font-size: 24px;
    line-height: 36px;
  }
  #section-main-aboutus .section-heading .desc {
    font-size: 11px;
  }
}

/* -----------------------------------------------------
section-main-service-info
----------------------------------------------------- */
#section-main-service-info {
  position: relative;
  padding: 80px 0px 140px 0px;
}

#section-main-service-info .section-heading .sub-heading {
  font-size: 12px;
  color: #ddd;
  text-align: center;
  margin: 0px 0px 20px 0px;
}

#section-main-service-info .section-heading .heading {
  font-size: 36px;
  line-height: 48px;
  color: #fff;
  text-align: center;
  margin: 0px 0px 30px 0px;
}

@media (max-width: 1024px) {
  #section-main-service-info {
    padding: 50px 0px 120px 0px;
  }
  #section-main-service-info .section-heading .sub-heading {
    font-size: 10px;
  }
  #section-main-service-info .section-heading .heading {
    font-size: 24px;
    line-height: 36px;
  }
}

/* -----------------------------------------------------
section-main-service-category
----------------------------------------------------- */
#section-main-service-category {
  position: relative;
}

#section-main-service-category .item {
  position: relative;
  margin-bottom: 20px;
  padding: 40px 36px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, .1);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

#section-main-service-category .icon {
  margin-top: 5px;
  color: var(--bs-primary);
  min-height: 65px;
  transition: all 0.3s ease-in-out;
}

#section-main-service-category .heading {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: #263a4f;
  margin: 15px 0px 15px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
}

#section-main-service-category .desc {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: #6a8695;
  transition: all 0.3s ease-in-out;
}

#section-main-service-category a.read-more {
  font-family: "Work Sans", "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

#section-main-service-category .item:hover {
  background-color: var(--bs-primary);
}

#section-main-service-category .item:hover .icon,
#section-main-service-category .item:hover .heading,
#section-main-service-category .item:hover .desc {
  color: #fff;
}

#section-main-service-category .item:hover a.read-more {
  color: #fff !important;
  border: 1px solid #fff;
}

/* -----------------------------------------------------
section-main-project
----------------------------------------------------- */
#section-main-project {
  position: relative;
  border-style: solid;
  border-width: 2px 0px 2px 0px;
  border-color: #eeeeee;
  padding: 80px 0px 80px 0px;
}

@media (max-width: 1024px) {
  #section-main-project {
    padding: 50px 10px 50px 10px;
  }
}

#section-main-project .section-heading {
  padding: 0 15px;
  text-align: center;
}

#section-main-project .section-heading .sub-heading {
  font-size: 12px;
  color: var(--bs-primary);
  margin: 0px 0px 15px 0px;
}

#section-main-project .section-heading .heading  {
  font-size: 32px;
  line-height: 42px;
  color: #263a4f;
  margin: 0px 0px 30px 0px;
}

@media (max-width: 1024px) {
  #section-main-project .section-heading .heading  {
    font-size: 24px;
    line-height: 35px;
  }
}

#section-main-project .box {
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}
#section-main-project .img-thumb {
  position: relative;
  transition: all 0.2s ease-in-out;
}

#section-main-project .box:hover .img-thumb {
  transform: scale(1.05);
}

#section-main-project .content {
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  bottom: 0;
  padding: 35px;
  transition: all 0.2s ease-in-out;
  z-index: 1;
  background-color: #0000005c;
}

#section-main-project .box:hover .content {
  background-color: none;
}

#section-main-project .content span {
  font-family: "Work Sans", "Noto Sans Thai", sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
  background-color: var(--bs-primary);
  color: #fff;
  padding: 0px 10px 0px 10px;
  margin-bottom: 10px;
  display: inline-block;
}

#section-main-project .content h3 {
  font-family: "Poppins", "Noto Sans Thai", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.5px;
}

#section-main-project .content h3 a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

#section-main-project .content h3 a:hover {
  color: #f6cefc;
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}

#section-main-project .overlay {
  background: linear-gradient(to bottom,rgba(99,92,92,0) 0%,rgb(6, 27, 73) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.2s ease-in-out;
  visibility: hidden;
  opacity: 0;
  transform: translateY(50%);
}

#section-main-project .box:hover .overlay {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------- */
/* สามารถเลื่อน Scroll แนวนอนซ้ายขวาได้ */
/* -------------------------------- */
/* Scroll X on lg down */
@media (max-width: 1024px) {
  .row.scroll-lg-down {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }
  .row.scroll-lg-down>* {
    width: 45%;
    max-width: 45%;
  }
}
@media (max-width: 767px) {
  .row.scroll-lg-down>* {
    width: 75%;
    max-width: 75%;
  }
}


/* .section-heading {
  margin-bottom: 20px;
}
.section-heading .heading {
  font-family: "Poppins", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  letter-spacing: -1px;
}
.section-heading .sub-heading {
  font-family: "Work Sans", "Noto Sans Thai", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0px;
}
.section-heading .desc {
  font-family: "Poppins", "Noto Sans Thai", sans-serif;
} */
