@charset "UTF-8";
@import url("./bootstrap.min.css");
@import url("./jquery-ui.css");
@import url("https://cdn-uicons.flaticon.com/uicons-solid-straight/css/uicons-solid-straight.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");
@import url("https://cdn-uicons.flaticon.com/uicons-regular-rounded/css/uicons-regular-rounded.css");
@import url("https://cdn-uicons.flaticon.com/uicons-brands/css/uicons-brands.css");
@import url("./owl.carousel.min.css");
@import url("./owl.theme.default.css");
@import url("./jquery.fancybox.css");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap");
*:focus,
*:active {
  outline: 0 !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

body {
  animation: fade-in 1s, bg-move 10s linear infinite;
  -webkit-animation: fade-in 1s, bg-move 10s linear infinite;
  font: 1em "IBM Plex Sans Thai", sans-serif, "Poppins", sans-serif;
  color: #000;
}

oz-selection {
  background: rgba(0, 0, 0, 0.2);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: transparent !important;
}

ol,
ul {
  margin: 0 !important;
  padding: 0 !important;
}

.hoverstyle figure {
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
  cursor: pointer;
}

.hoverstyle figure div {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 9;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  height: 100%;
  line-height: 20;
  width: 100%;
}

.hoverstyle figure a img {
  -webkit-transition-duration: 0.6s;
  transition-duration: 0.6s;
  -webkit-transition-property: transform;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.hoverstyle:hover figure a img {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.hoverstyle:hover figure div {
  opacity: 1;
}

.wrap_menu {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 999;
  margin: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #fff;
  -webkit-box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.1) !important;
}

.wrap_menu.sticky {
  background-color: #fff;
  top: 0px;
  padding: 0px;
}

.wrap_menu.sticky .top-ct {
  display: none;
}

#topmenu .top-ct {
  background: -webkit-gradient(linear, left top, right top, from(#8a342f), to(#70110c));
  background: linear-gradient(90deg, #8a342f 0%, #70110c 100%);
  padding: 8px 0px;
}

#topmenu .top-ct .contact-top li {
  list-style: none;
  display: inline-block;
  margin-right: 20px;
  font-size: 0.8rem;
}

#topmenu .top-ct .contact-top li i {
  vertical-align: sub;
  font-size: 0.95rem;
  margin-right: 5px;
}

#topmenu .top-ct .contact-top li a {
  text-decoration: none;
  color: #fff;
}

#topmenu .top-ct .langtp li {
  list-style: none;
  display: inline-block;
  border-right: 1px solid #fff;
  font-size: 0.8rem;
  padding-right: 10px;
}

#topmenu .top-ct .langtp li:first-child {
  border-right: none;
}

#topmenu .top-ct .langtp li:last-child {
  border-right: none;
}

#topmenu .top-ct .langtp li i {
  color: #fff;
  vertical-align: sub;
  font-size: 0.95rem;
}

#topmenu .top-ct .langtp li a {
  text-decoration: none;
  color: #fff;
}

#topmenu .mainmenu-bg {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  padding: 8px 0px;
}

#topmenu .mainmenu-bg .mainmenu ul li {
  list-style: none;
  display: inline-block;
  margin-right: 30px;
  position: relative;
}

#topmenu .mainmenu-bg .mainmenu ul li.active a {
  color: #70110c;
  font-weight: 600;
}

#topmenu .mainmenu-bg .mainmenu ul li.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 4px;
  /* ความหนาของเส้น */
  background: #8b0000;
  /* สีเส้น */
}

#topmenu .mainmenu-bg .mainmenu ul li a {
  text-decoration: none;
  color: #000;
}

#topmenu .mainmenu-bg .mainmenu ul li a.active {
  color: #70110c;
}

#footer .footergroup {
  background-color: #f3f3f3;
  padding: 3em 0em;
}

#footer .footergroup .legallin li {
  display: inline-block;
}

#footer .footergroup .legallin li a {
  color: #70110c;
}

#footer .footergroup p {
  font-size: 0.9rem;
  color: #333333;
}

#footer .footergroup .footerlink ul li {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

#footer .footergroup .footerlink ul li i {
  color: #70110c;
  margin-right: 5px;
  vertical-align: middle;
}

#footer .footergroup .footerlink ul li a {
  text-decoration: none;
  color: #333333;
}

#footer .footergroup h3 {
  font-size: 1rem;
  color: #70110c;
  font-weight: 600;
}

#footer .legallink li {
  display: inline-block;
  margin-right: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

#footer .legallink li::before {
  content: "•";
  color: #d4af37;
  margin-right: 10px;
}

#footer .legallink li a {
  color: #70110c;
  text-decoration: none;
}

#footer .sociallink li {
  list-style: none;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

#footer .sociallink li a {
  text-decoration: none;
}

#footer .copyright {
  background: -webkit-gradient(linear, left top, right top, from(#8a342f), to(#70110c));
  background: linear-gradient(90deg, #8a342f 0%, #70110c 100%);
  padding: 8px 0px;
  border-radius: 10px 10px 0px 0px;
  color: #fff;
  font-size: 0.8rem;
}

.bannergroup {
  position: relative;
}

.bannergroup .news-banner .owl-dots {
  position: absolute;
  top: -48px;
  right: 10px;
}

.bannergroup .news-banner .owl-dots .owl-dot span {
  background-color: #d9d9d9;
  width: 5px;
  height: 5px;
  margin: 5px 4px;
}

.bannergroup .news-banner .owl-dots .owl-dot.active span {
  background-color: #fff;
  width: 15px;
  height: 5px;
}

.bannergroup .ctaboxone {
  background-color: #70110c;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1em;
  height: 150px;
  width: 25%;
}

.bannergroup .ctaboxone .read-ic {
  position: absolute;
  right: 20px;
  bottom: 15px;
}

.bannergroup .ctaboxone h3 {
  font-size: 1rem;
  padding-top: 8px;
}

.bannergroup .ctaboxone h3 i {
  font-size: 1.3em;
  vertical-align: middle;
  margin-right: 5px;
}

.bannergroup .ctaboxone p {
  font-size: 0.9rem;
}

.bannergroup .ctaboxtwo {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12.5px);
          backdrop-filter: blur(12.5px);
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 25%;
  padding: 1em;
  z-index: 1;
  height: 150px;
  border-radius: 0px;
  width: 25%;
}

.bannergroup .ctaboxtwo h3 {
  font-size: 1rem;
}

.bannergroup .ctaboxtwo h3 i {
  border: 1px solid #fff;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  width: 45px;
  height: 45px;
  line-height: 48px;
  font-size: 1.2rem;
  margin-right: 5px;
}

.bannergroup .ctaboxtwo p {
  font-size: 0.9rem;
}

.bannergroup .ctaboxtwo .contentbox .datens {
  font-size: 1.4rem;
  font-weight: 600;
  display: inline-block;
  width: 25%;
  line-height: 24px;
  text-align: center;
  padding-top: 10px;
}

.bannergroup .ctaboxtwo .contentbox .datens span {
  display: block;
  font-size: 0.9rem;
}

.bannergroup .ctaboxtwo .contentbox .content {
  font-weight: 600;
  display: inline-block;
  width: 65%;
  font-weight: 400;
  font-size: 0.9rem;
}

.bannergroup .ctaboxthree {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12.5px);
          backdrop-filter: blur(12.5px);
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 1em;
  z-index: 1;
  height: 150px;
  border-radius: 0px 20px 0px 0px;
  width: 25%;
}

.bannergroup .ctaboxthree h3 {
  font-size: 1rem;
}

.bannergroup .ctaboxthree h3 i {
  border: 1px solid #fff;
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  width: 45px;
  height: 45px;
  line-height: 48px;
  font-size: 1.2rem;
  margin-right: 5px;
}

.bannergroup .ctaboxthree p {
  font-size: 0.9rem;
}

.bannergroup .ctaboxthree .contentbox .datens {
  font-size: 1.4rem;
  font-weight: 600;
  display: inline-block;
  width: 25%;
  line-height: 24px;
  text-align: center;
  padding-top: 10px;
}

.bannergroup .ctaboxthree .contentbox .datens span {
  display: block;
  font-size: 0.9rem;
}

.bannergroup .ctaboxthree .contentbox .content {
  font-weight: 600;
  display: inline-block;
  width: 65%;
  font-weight: 400;
  font-size: 0.9rem;
}


.bannerhomepage {
  position: relative;
}

.bannerhomepage .owl-item {
  overflow: hidden;
}

.bannerhomepage .owl-item:after {
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  width: 100%;
  content: "";
  top: 0;
  opacity: 1;
  z-index: 1;
}

.bannerhomepage .owl-item.active img {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: 5s all ease;
  transition: 5s all ease;
}

.bannerhomepage .owl-item img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  -webkit-transform: scale(1.15);
          transform: scale(1.15);
  -webkit-transition: 3.5s all ease;
  transition: 3.5s all ease;
}

.bannerhomepage .owl-dots {
  z-index: 9;
  right: 5%;
  bottom: 5%;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  border-radius: 50px;
  padding: 12px 25px;
  line-height: 10px;
}

.bannerhomepage .owl-dots .owl-dot span {
  background-color: #d9d9d9;
  width: 5px;
  height: 5px;
  margin: 5px 4px;
}

.bannerhomepage .owl-dots .owl-dot.active span {
  background-color: #fff;
  width: 5px;
  height: 5px;
}

.bannerhomepage:hover .owl-nav {
  opacity: 1;
}

.bannerhomepage .captionbanner {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  left: 50%;
  top: 50%;
  color: #fff;
  z-index: 2;
  width: 80%;
}

.bannerhomepage .captionbanner span {
  font-size: 0.9rem;
}

.bannerhomepage .captionbanner p {
  color: #fff;
  font-size: 1.3rem;
  line-height: 30px;
}

.bannerhomepage .captionbanner h1,
.bannerhomepage .captionbanner h2 {
  padding: 20px 0px;
  font-weight: 600;
  font-size: 3.5rem;
}

.bannerhomepage .captionbanner .btn-abt {
  background-color: #70110c;
  color: #fff;
  border-radius: 50px;
  padding: 10px 20px;
}

.bannerhomepage .captionbanner .btn-discover {
  color: #fff;
  border-radius: 50px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.titlehead h2 {
  color: #70110c;
  font-size: 1.6rem;
  font-weight: 600;
}

.btn-more {
  background-color: #70110c;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-more:hover {
  background-color: #600d08;
  color: #fff;
}

.btn-more i {
  margin-left: 10px;
  vertical-align: sub;
}

.btn-gd {
  background-color: #d4af37;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-gd:hover {
  color: #fff;
  background-color: #c6a025;
}

#homepage .update-section {
  background-image: url(../images/bg-top.png);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2em 0em;
  background-position: center;
}

#homepage .abt-section {
  background-image: url(../images/bgmain.png);
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

#homepage .intro-content span {
  color: #d4af37;
  font-size: 0.9rem;
  display: block;
  font-weight: 600;
}

#homepage .intro-content h2 {
  color: #70110c;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 33px;
}

#homepage .intro-content h3 {
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 33px;
}

#homepage .intro-content p {
  color: #666666;
}

#homepage .tab-schedule {
  background-image: url(../images/tabbg.png);
  -webkit-transform: translate(-91px, 0px);
          transform: translate(-91px, 0px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0px 50px 0px 0px;
  position: relative;
  padding: 0% 0% 0% 7%;
  color: #fff;
  width: 90%;
}

#homepage .tab-schedule .tbimg {
  margin-top: -50px;
}

#homepage .tab-schedule .tbimg img {
  width: 90%;
}

#homepage .tab-schedule h2 {
  font-size: 1.5rem;
}

#homepage .tab-schedule p {
  font-size: 0.9rem;
}

#homepage .tab-schedule .btn-sch {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 50px;
  font-size: 0.9rem;
}

#homepage .events-slider {
  padding: 20px;
}

#homepage .events-slider .owl-dots .owl-dot span {
  background-color: #d9d9d9;
  width: 8px;
  height: 8px;
  margin: 5px 10px;
}

#homepage .events-slider .owl-dots .owl-dot.active span {
  background-color: #d4af37;
  width: 8px;
  height: 8px;
}

#homepage .events-slider .owl-nav .owl-prev {
  position: absolute;
  top: 50%;
  left: 0;
}

#homepage .events-slider .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  right: 0;
}

#homepage .bxupdate-content {
  background-color: #fff;
  -webkit-box-shadow: 0px 5.88192px 36.762px rgba(0, 0, 0, 0.1) !important;
          box-shadow: 0px 5.88192px 36.762px rgba(0, 0, 0, 0.1) !important;
  border-radius: 20px;
  margin: 30px;
}

#homepage .bxupdate-content .hoverstyle figure {
  border-radius: 20px 0px 0px 20px;
  height: 100%;
  min-height: 300px;
  max-height: 450px;
  margin-bottom: 0;
}

#homepage .bxupdate-content .hoverstyle figure div {
  border-radius: 20px 0px 0px 20px;
}

#homepage .bxupdate-content .hoverstyle figure a {
  display: block;
  height: 100%;
  width: 100%;
}

#homepage .bxupdate-content .hoverstyle figure a img {
  border-radius: 20px 0px 0px 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#homepage .bxupdate-content .hoverstyle:hover figure a img {
  border-radius: 20px 0px 0px 20px;
}

/* Tablet และ Mobile */
@media (max-width: 991.98px) {
  #homepage .bxupdate-content .hoverstyle figure {
    max-height: 300px;
  }
}

#homepage .detail {
  padding: 20px;
}

#homepage .detail h2 {
  color: #70110c;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 30px;
}

#homepage .detail .date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333333;
}

#homepage .detail .tagnews {
  background-color: #fff9f7;
  border: 1px solid #ecdcda;
  border-radius: 50px;
  color: #70110c;
  font-size: 0.8rem;
  padding: 5px 10px;
  font-weight: 600;
  display: inline-block;
}

#homepage .detail p {
  color: #666666;
}

#homepage .detail .news-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #666666;
}

#homepage .spupbt {
  padding: 8em 0em;
}

#homepage .boxone-cert {
  background-image: url(../images/cert-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  color: #fff;
  padding: 1em;
}

#homepage .boxone-cert h2 {
  font-size: 1.5rem;
}

#homepage .boxone-cert h2 img {
  width: 35px;
  height: 35px;
}

#homepage .boxone-cert p {
  padding-top: 9em;
}

#homepage .boxtwo-cert {
  background-image: url(../images/course-pic.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
  padding: 2em;
  color: #fff;
  height: 390px;
}

#homepage .boxtwo-cert h2 {
  font-size: 1.5rem;
}

#homepage .boxtwo-cert h2 img {
  width: 35px;
  height: 35px;
}

#homepage .boxtwo-cert p {
  padding-top: 9em;
  font-size: 0.9rem;
}

#homepage .boxtwo-cert .course-list {
  padding-top: 7em !important;
}

#homepage .boxtwo-cert .course-list li {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.9rem;
  position: relative;
  font-weight: 600;
}

#homepage .boxtwo-cert .course-list li:first-child {
  background-color: #d4af37;
  padding: 10px;
}

#homepage .boxtwo-cert .course-list li:last-child {
  background-color: #70110c;
  padding: 10px;
}

#homepage .boxtwo-cert .course-list li a {
  text-decoration: none;
  color: #fff;
  display: block;
}

#homepage .boxtwo-cert .course-list li a:hover i {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}

#homepage .boxtwo-cert .course-list li a i {
  position: absolute;
  right: 15px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

#homepage .contactdetail {
  background-color: #d4af37;
  color: #fff;
  border-radius: 20px;
  padding: 2em;
}

#homepage .contactdetail p {
  color: #f9f3e1;
  font-size: 0.9rem;
}

#homepage .contactdetail h3 {
  font-size: 1.1rem;
}

#homepage .contactdetail h2 {
  font-size: 1.5rem;
}

#homepage .contactdetail h2 img {
  width: 35px;
  height: 35px;
}

#homepage .picsd img {
  height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
  width: 100%;
}

#homepage .boxcareer {
  border-radius: 20px;
  height: 350px;
  padding: 2em;
  color: #fff;
  overflow: hidden;
  position: relative;
}

#homepage .boxcareer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/career-img.png") center/cover no-repeat;
  -webkit-transition: -webkit-transform 0.9s ease;
  transition: -webkit-transform 0.9s ease;
  transition: transform 0.9s ease;
  transition: transform 0.9s ease, -webkit-transform 0.9s ease;
  z-index: 0;
}

#homepage .boxcareer * {
  position: relative;
  z-index: 1;
}

#homepage .boxcareer:hover::before {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

#homepage .boxcareer h2 {
  font-size: 1.5rem;
}

#homepage .boxcareer h2 img {
  width: 35px;
  height: 35px;
}

#homepage .boxcareer p {
  padding-top: 9em;
  font-size: 0.9rem;
}

/*----------- RESPONSIVE --------------*/
@media (max-width: 1199px) {
  .bannergroup .ctaboxtwo {
    display: none;
  }
  .bannergroup .ctaboxthree {
    display: none;
  }
  .bannergroup .ctaboxone {
    height: 75px;
  }
  .bannerhomepage .captionbanner h2,
  .bannerhomepage .captionbanner h1 {
    font-size: 2.5rem;
  }
  #homepage .tab-schedule {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .bannerhomepage .owl-dots {
    right: 5%;
    bottom: 4%;
    padding: 7px 15px;
    line-height: 10px;
  }
  .bannerhomepage .captionbanner {
    width: 80%;
  }
  .bannerhomepage .captionbanner span {
    font-size: 0.8rem;
  }
  .bannerhomepage .captionbanner p {
    font-size: 0.9rem;
  }
  .bannerhomepage .captionbanner h1,
  .bannerhomepage .captionbanner h2 {
    padding: 5px 0px;
    font-size: 2rem;
  }
  .bannerhomepage .captionbanner .btn-abt {
    font-size: 0.8rem;
  }
  .bannerhomepage .captionbanner .btn-discover {
    font-size: 0.8rem;
  }
  .bannergroup .ctaboxtwo {
    left: 0;
    position: relative;
    width: 100%;
    border-radius: 0px;
    height: 150px;
  }
  .bannergroup .ctaboxthree {
    left: 0;
    position: relative;
    width: 100%;
    border-radius: 0px;
    height: 150px;
  }
  .bannergroup .ctaboxone {
    position: relative;
    width: 100%;
    height: 150px;
  }
  #homepage .bxupdate-content {
    background-color: #fff;
    -webkit-box-shadow: 0px 5.88192px 36.762px rgba(0, 0, 0, 0.1) !important;
            box-shadow: 0px 5.88192px 36.762px rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px;
    margin: 30px;
  }
  #homepage .bxupdate-content .hoverstyle figure {
    border-radius: 20px 20px 0px 0px;
  }
  #homepage .bxupdate-content .hoverstyle figure div {
    border-radius: 20px 20px 0px 0px;
  }
  #homepage .bxupdate-content .hoverstyle figure a img {
    border-radius: 20px 20px 0px 0px;
  }
  #homepage .bxupdate-content .hoverstyle:hover figure a img {
    border-radius: 20px 20px 0px 0px;
  }
  .tab-schedule {
    display: none;
  }
  .offcanvas-body li {
    list-style: none;
    margin-bottom: 15px;
  }
  .offcanvas-body li a {
    text-decoration: none;
    color: #000;
  }
  .hamnav a {
    text-decoration: none;
  }
  .hamnav a i {
    color: #000;
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  #footer .footergroup {
    padding: 1em 0em;
  }
  .btn-gd {
    font-size: 0.8rem;
  }
  #homepage .course-list li a {
    font-size: 0.8rem;
  }
  #homepage .boxtwo-cert {
    height: 330px;
  }
  #homepage .boxcareer {
    height: 260px;
  }
  #homepage .boxcareer p {
    font-size: 0.8rem;
    padding-top: 3em;
  }
  #homepage .boxcareer h2 {
    font-size: 1.2rem;
  }
  #homepage .contactdetail p,
  #homepage .boxtwo-cert p,
  #homepage .boxone-cert p {
    font-size: 0.8rem;
    padding-top: 1em;
  }
  #homepage .contactdetail h2,
  #homepage .boxtwo-cert h2,
  #homepage .boxone-cert h2 {
    font-size: 1.2rem;
  }
  #homepage .intro-content span {
    font-size: 0.8rem;
  }
  #homepage .intro-content h2 {
    font-size: 1.2rem;
  }
  #homepage .intro-content h3 {
    font-size: 1rem;
  }
  #homepage .intro-content p {
    font-size: 0.8rem;
  }
  #homepage .detail p {
    font-size: 0.8rem;
  }
  #homepage .detail h2 {
    font-size: 0.9rem;
  }
  #homepage .detail h2.pt-3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #homepage .events-slider {
    padding: 0px;
  }
  #homepage .bxupdate-content {
    margin: 0;
    margin-bottom: 50px;
  }
  .titlehead h2 {
    font-size: 1.3rem;
  }
  .btn-more {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

/* Gallery Item - ให้รูปภาพมีขนาดเท่ากัน */
#galleryContainer .gallery-item {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

#galleryContainer .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  #galleryContainer .gallery-item {
    height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #galleryContainer .gallery-item {
    height: 220px;
  }
}
/*# sourceMappingURL=layout.css.map */











/* ===================================
   Service Icons Section
   Modern & Beautiful Design
   =================================== */

   .service-icons-container {
    padding: 2rem 0;
}

.service-icon-box {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.service-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(112, 17, 12, 0.05) 0%, rgba(138, 52, 47, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-icon-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(112, 17, 12, 0.25);
    border-color: #70110c;
}

.service-icon-box:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-bg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #70110c 0%, #8a342f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(112, 17, 12, 0.3);
}

.service-icon-bg::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #70110c 0%, #8a342f 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.service-icon-box:hover .service-icon-bg::before {
    opacity: 0.5;
}

.service-icon-box:hover .service-icon-bg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(112, 17, 12, 0.4);
}

.service-icon-bg i {
    font-size: 42px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-icon-box:hover .service-icon-bg i {
    transform: scale(1.15);
}

.service-icon-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-icon-box:hover h3 {
    color: #70110c;
}

.service-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    display: block;
    margin-top: 0.5rem;
}

.service-icon-box:hover .service-subtitle {
    color: #8a342f;
}

.service-arrow {
    position: absolute;
    /* bottom: 1.5rem;
    right: 1.5rem; */
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #70110c 0%, #8a342f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.service-icon-box:hover .service-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.service-arrow i {
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.service-icon-box:hover .service-arrow i {
    transform: translateX(3px);
}

/* Responsive Design for Service Icons */
@media (max-width: 991px) {
    .service-icon-box {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon-bg {
        width: 90px;
        height: 90px;
    }
    
    .service-icon-bg i {
        font-size: 38px;
    }
    
    .service-icon-box h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .service-icons-container {
        padding: 1.5rem 0;
    }
    
    .service-icon-box {
        padding: 2rem 1.5rem;
    }
    
    .service-icon-bg {
        width: 80px;
        height: 80px;
    }
    
    .service-icon-bg i {
        font-size: 32px;
    }
    
    .service-icon-box h3 {
        font-size: 1.1rem;
    }
    
    .service-subtitle {
        font-size: 0.85rem;
    }
}

/* Animation for Service Icons */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-icon-box {
    animation: fadeInUp 0.6s ease-out;
}

.service-icon-box:nth-child(1) {
    animation-delay: 0.1s;
}

.service-icon-box:nth-child(2) {
    animation-delay: 0.2s;
}

.service-icon-box:nth-child(3) {
    animation-delay: 0.3s;
}

