/**
* Template Name: Gp
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Updated: Mar 17 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
111
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');
@font-face {
    font-family: 'SUT';
    src: url('../../font/SUTRegular.woff2') format('woff2'),
    url('../../font/SUTRegular.woff') format('woff');
}


body {
  font-family: "Mitr";
  color: #D35400;
  background-color: #000826;
/*  background-color: #ce4126;*/
  }

a {
  color: #FFFFFF;
  text-decoration: none;
}
 
a:hover {
  color: #FF5600;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Mitr", sans-serif;
}

hr.hh {
  margin: 1rem 0;
  opacity: 1;
  background-color: rgba(241,114,58,1) !important;
  height: 4px;
  border-radius: 50px;
}


th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
/*  font-weight: 300;*/
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #F39422;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #010038;
  line-height: 0;
}

.back-to-top:hover {
  background: #010038;
}

.back-to-top:hover i {
  color: #F39422;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #010038;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid #F39422;
  border-top-color: #010038;
  border-bottom-color: #010038;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(0, 0, 0, 0.8);
}

#header .logo {
  font-size: 25px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo a span {
  color: #FF5600;
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
#  Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
  color: #fff;
  border-radius: 4px;
  padding: 7px 25px 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 16px;
  display: inline-block;
  border: 2px solid #F39422;
}

.get-started-btn:hover {
  background: #ffbb38;
  color: #343a40;
}

@media (max-width: 992px) {
  .get-started-btn {
    padding: 7px 20px 8px 20px;
    margin-right: 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;

}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 18px; /* Manubar*/
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 16px;
  line-height: 0;
  margin-left: 5px;
  color: #fff;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #F97300;
}


.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, .7);
  border-radius: 8px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px; /*ตัวหนังสือ dropdown ตอนกด เมนู */
  text-transform: none;
  color: #FFF;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  background-color: #F97300;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

/*@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}
*/
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #FFF;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #FFF;
  background-color: #F39422;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: #FFF;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  background-color: #F39422;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}


/*--------------------------------------------------------------
# head-b Section
--------------------------------------------------------------*/
#head-b {
  width: 90%;
  min-height: 50vh;
  background-size: cover;
  position: relative;
}

#head-b:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#head-b .container {
  position: relative;
  padding-top: 74px;
  text-align: center;
}

#head-b h1 {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Mitr", sans-serif;
}

#head-b span {
  color: #F39422;
}

#head-b h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 45px;
}

#head-b .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#head-b .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #F39422;
}

#head-b .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

#head-b .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

#head-b .icon-box h3 a:hover {
  color: #F39422;
}

#head-b .icon-box:hover {
  border-color: #F39422;
}

@media (min-width: 1024px) {
  #head-b {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #head-b h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #head-b h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# banner Section
--------------------------------------------------------------*/
#banner {
  width: 100%;
  min-height: 100vh;
  background: url("../../images/bg-social.jpg") top center;
  background-size: cover;
  position: relative;
}

#banner:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#banner .container {
  position: relative;
  padding-top: 74px;
  text-align: center;
}

#banner h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Mitr", sans-serif;
}

#banner h1 span {
  color: #F39422;
}

#banner h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 24px;
}

#banner .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#banner .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #F39422;
}

#banner .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

#banner .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

#banner .icon-box h3 a:hover {
  color: #F39422;
}

#banner .icon-box:hover {
  border-color: #F39422;
}

@media (min-width: 1024px) {
  #banner {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #banner h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #banner h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 40px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Mitr", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 300px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(148deg, rgba(255,96,0,1) 20%, rgba(247,255,0,0) 100%);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Mitr", sans-serif;
  color: white; /*ข่าวสาร/ข่าวประชาสัมพันธ์*/
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 28px;
  font-family: "Mitr", sans-serif;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #F39422;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .head-detail {
  /*background: rgb(198,0,0);*/
  background: linear-gradient(90deg,
  #07112b 0%,     /* น้ำเงินเข้ม (พื้นหลังเว็บ) */
  #0a1e45 30%,    /* น้ำเงิน */
  #c86a2a 75%,    /* ส้มหม่น */
  #ff7a00 100%    /* ส้ม */
  );
  -webkit-transform: skew(-30deg) !important;
  border-radius: 10px;
/*  border-radius: 50px;*/
  color: white;
  justify-content: center;
  padding: 20px;
  margin: 0px 0px 0px 95px;
  display: flex;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  position: relative;
}

.about .head-detail h1{
  -webkit-transform: skew(30deg);
}

.video-card {
  width: 360px;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  margin-left: 180px;
 
}

.video-card:hover {
  box-shadow: 0 35px 70px rgba(0,0,0,0.45);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  
}
.detail {
  background: linear-gradient(135deg,
  #ff7a00 0%,
  #f07b2c 15%,
  #0a1e45 75%,
  #070e22 100%);
  /*background: linear-gradient(135deg, #07112b 0%, #0a1e45 60%, #ff7a00 115%); */
  /*background: linear-gradient(90deg, rgba(0,80,198,0.02) 0%, rgba(255,149,0,1) 100%); */
  color: #ffffff; /*สีตัวหนังสือ index บรรยายเมคคา ยานยนต์*/
  font-size: 20px;
  font-weight: 300;
  padding: 10%; /*ความสูงกล่องข้อความ*/
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  position: relative;
  left: 0px;
  top: 0;
  width: 100%;
  z-index: 1;
  line-height: 2rem;
  text-indent: 2.5rem;
 /* text-align: justify;*/
  text-justify: inter-word;
  transform: translateY(-1.5rem);
  overflow: hidden;
  margin-left: 40px;
} 

.about .head-detail-2 {
  background: linear-gradient(90deg,
  #ff7a00 0%,
  #f07b2c 15%,
  #0a1e45 75%,
  #070e22 100%);
  /*background: linear-gradient(90deg, rgba(255,94,0,1) 0%, rgb(21, 35, 80) 98%);*/
    -webkit-transform: skew(-30deg) !important;
  border-radius: 10px;
/*  border-radius: 50px;*/
  color: white;
  justify-content: center;
  padding: 20px;
  margin: 0px 20px 0px 90px;
  display: flex;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  position: relative;
}


.about .head-detail-2 h1{
  font-size: 34px;
  -webkit-transform: skew(30deg) !important;
}

.about .detail-2 {
  
  background: linear-gradient(135deg, 
  #07112b 0%,     /* น้ำเงินเข้ม (พื้นหลังเว็บ) */
  #0a1e45 30%,    /* น้ำเงิน */
  #c86a2a 75%,    /* ส้มหม่น */
  #ff7a00 100%    /* ส้ม */
);
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  padding: 10% 5% 10% 10%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  position: relative;
  top: 0;
  width: 100%;
  max-width: 95%;
  z-index: 1;
  line-height: 2rem;
  text-indent: 2.5rem;
  text-align: justify;
  text-justify: inter-word;
  margin-left: 60px;  
  padding: 7% 8%
} 

.detail-2  ul {
  list-style: none;
  padding: 0;
}

.detail-2  ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.detail-2  ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #F39422;
}

/* วิดีโอ – ยานยนต์ */
.video-card-auto {
  width: 440px;          /* ✅ ใหญ่ขึ้น */
  height: 700px;         /* ✅ ใกล้เมคคา */
  border-radius: 28px;
}
.automotive-row {
  transform: translateX(20px); /* ✅ เลื่อนขวา */
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/

.bg_part {
  position: relative;
  clip-path: polygon(100% 0%, -1% 99%, 100% 100%);
  width: 100%;
  margin-top: -10rem;
  /*background: linear-gradient(3deg, rgba(255,115,0,1) 30%, rgba(255,166,0,1) 100%); */
  grid-column: 1 / 6;
  z-index: -1;
}


.clients {
  margin-top: -0.5rem;
  padding-top: 10rem;
  padding-bottom: 20rem;
  background: linear-gradient(7deg, rgba(203,126,11,1) 0%, rgba(203,126,11,1) 17%, rgba(255,154,0,1) 31%, rgba(255,115,0,1) 47%);
  clip-path: polygon(0 0,100% 0, 100% 100%, 0 80%);
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #F39422; 
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
  padding-top: 10rem;
  padding-bottom: 13rem;
  background: linear-gradient(7deg, rgba(221, 32, 106, 1) 0%, rgba(222, 38, 104, 1) 17%, rgba(227, 57, 101, 1) 31%, rgba(234, 87, 95, 1) 47%);
  clip-path: polygon(0 0,100% 0, 100% 100%, 0 80%);
/*  clip-path: polygon(100% 100%,0 100%,0% 20%,100% 0);*/
}

.features .icon-box {
  padding-left: 15px;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #F39422;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/




.services .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #F39422;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #010038;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #010038;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: #F39422;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  padding: 20px 0;
  background-image: linear-gradient(148deg, rgba(255,96,0,1) 20%, rgba(247,255,0,0) 100%),url("../../images/bg-02.jpg");
  background-blend-mode: multiply;
  height: 80vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #F39422;
  border-color: #F39422;
  color: #010038;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #010038;
  background: #F39422;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(21, 21, 21, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #F39422;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #F39422;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #F39422;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .content {
  padding: 30px 0;
}

.counts .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #010038;
}

.counts .content p {
  margin-bottom: 0;
}

.counts .content .count-box {
  padding: 20px 0;
  width: 100%;
}

.counts .content .count-box i {
  display: block;
  font-size: 36px;
  color: #F39422;
  float: left;
}

.counts .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: #010038;
  margin-left: 50px;
}

.counts .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #3b3b3b;
}

.counts .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #3b3b3b;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .content .count-box a:hover {
  color: #626262;
}

.counts .image {
  background: url("../img/counts-img.jpg") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

@media (max-width: 991px) {
  .counts .image {
    text-align: center;
  }

  .counts .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .counts .image img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #ddd;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.6);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: #eee;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #F39422;
  opacity: 1;
}

@media (min-width: 1024px) {
  .testimonials {
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #fff;
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #010038;
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  transition: ease-in-out 0.3s;
  color: #484848;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .member .social a:hover {
  color: #010038;
  background: #F39422;
}

.team .member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #010038;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  background: #F39422;
  color: #010038;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #010038;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #484848;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #F39422;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #F39422;
  border: 0;
  padding: 10px 24px;
  color: #010038;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #ffcd6b;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*--------------------------------------------------------------
# research
--------------------------------------------------------------*/
#research {
  .research {
    padding: 60px 0;
/*    background-image: linear-gradient(148deg, rgba(255,96,0,1) 20%, rgba(247,255,0,0) 100%),url("../../images/bg-02.jpg");*/
    background-blend-mode: multiply;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .research h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
  }

  .research p {
    color: #fff;
  }

  .research .research-btn {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 10px;
    border: 2px solid #fff;
    color: #fff;
  }

  .research .ctresearch-btn:hover {
    background: #F39422;
    border-color: #F39422;
    color: #010038;
  }
}
/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/


.breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  list-style: none;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.breadcrumb-item a{
  color: #FFF;
}

.breadcrumb-item a:hover{
  color: #F39422;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #6c757d;
  content: "/";
}

.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: underline;
}

.breadcrumb-item + .breadcrumb-item:hover::before {
  text-decoration: none;
}

.breadcrumb-item active {
  color: #F39422;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #000826;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #000826;
  border-bottom: 1px solid #222222;
  padding: 30px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#footer .footer-top .footer-info h3 span {
  color: #F39422;
}

#footer .footer-top .footer-info p {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 0;
  font-family: "Mitr", sans-serif;
  color: #fff;
  font-weight: 400;
}

#footer .footer-top .social-links a {
  font-size: 28px;
  display: inline-block;
  background: #2f2f2f;
  color: #fff;
  line-height: 1;
  padding: 5px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #F39422;
  color: #010038;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;

}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #F39422;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #F39422;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #F39422;
  color: #010038;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ffcd6b;
}

#footer .copyright {
  text-align: center;
  padding-top: 15px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}


/* ========================== banner ==========================  */

.logo_banner img {
  animation: logo_banner_animate 3.5s linear infinite;
  animation-iteration-count: 1;
}

@keyframes logo_banner_animate {
  0% {
    filter: blur(0);
  }

  40% {
    filter: blur(20px);
  }

  80% {
    filter: blur(0);
  }

  100% {
    filter: blur(0);
  }
}

/* ========================== banner ==========================  */


/* ========================== vision tabs ==========================*/

section .vision{
    box-sizing: border-box;
    --bgColorMenu : #1d1d27;
    --duration: .7s;    
}

section .vision,
section .vision::before,
section .vision::after {
    box-sizing: inherit;
}

div .bodyvision{
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: #ffb457;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--duration);

}

.menu{

    margin: 0;
    display: flex;
    /* Works well with 100% width  */
    width: 32.05em;
    font-size: 1.5em;
    padding: 0 2.85em;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: var(--bgColorMenu);
    
}

.menu__item{
    
    all: unset;
    flex-grow: 1;
    z-index: 100;
    display: flex;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    align-items: center;
    will-change: transform;
    justify-content: center;
    padding: 0.55em 0 0.85em;
    transition: transform var(--timeOut , var(--duration));
    
}

.menu__item::before{
    
    content: "";
    z-index: -1;
    width: 4.2em;
    height: 4.2em;
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
    transition: background-color var(--duration), transform var(--duration);
    
}


.menu__item.active {

    transform: translate3d(0, -.8em , 0);

}

.menu__item.active::before{
    
    transform: scale(1);
    background-color: var(--bgColorItem);

}

.icon{
    
    width: 2.6em;
    height: 2.6em;
    stroke: white;
    fill: transparent;
    stroke-width: 1pt;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    
}

.menu__item.active .icon {

    animation: strok 1.5s reverse;
    
}

@keyframes strok {

    100% {

        stroke-dashoffset: 400;

    }

}

.menu__border{
    left: 0;
    bottom: 99%;
    width: 10.9em;
    height: 2.4em;
    position: absolute;
    clip-path: url(#menu);
    will-change: transform;
    background-color: var(--bgColorMenu);
    transition: transform var(--timeOut , var(--duration));
    
}

.svg-container {

    width: 0;
    height: 0;
}


@media screen and (max-width: 50em) {
    .menu{
        font-size: .8em;
    }
}

/*============================================*/


/* ================== tabs ================== */

      :root{
        --clr: #001663;
      }
      .clients{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
/*        background:#222;*/
        background-size: cover;
        align-items: center;
        display: flex;
        justify-content: center;
      }

      .clients .container{
      position: relative;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
      height: 500px;
      }

      .tabs{
        position: relative;
        width: 200px;
        padding: 40px 0;
      }
      .tabs input{
        appearance: none;
        display: none;
      }
      .tabs .icons{
        position: relative;
        display: flex;
        flex-direction: column;
      }
      .tabs .icons label{
      width: 150px; /*บริเวณหัวข้อ vision,mission,values*/
      height: 120px;
      color: #F87515;; /* font vision,mission,values */
      text-align: center;
      line-height: 120px;
      font-size: 1.5em;
      opacity: 0.25;
      transition: 0.5s;
      cursor: pointer;
      z-index: 2;
      }

      .tabs input:nth-child(1):checked ~ .icons label:nth-child(1),
      .tabs input:nth-child(2):checked ~ .icons label:nth-child(2),
      .tabs input:nth-child(3):checked ~ .icons label:nth-child(3),
      .tabs input:nth-child(4):checked ~ .icons label:nth-child(4)
     {  
      opacity: 1;
      }
      .indicator{
        position: absolute;
        width: 150px;
        height: 100px;
        background: white; /*สีตัวเลื่อน วิสัยทัศน์*/
        z-index: 1;
        border-radius:100px 0px 0px 100px;
        transition: 0.5s;
      }
      .indicator::before{
        content: '';
        position: absolute;
        width: 40px;
        height: 20px;
        top: -20px;
        right: -0px;
        background: transparent;
        border-bottom-right-radius: 20px;
        box-shadow: 8px 8px 0 8px  white;
      }

      .indicator::after{
        content: '';
        position: absolute;
        width: 40px;
        height: 20px;
        bottom: -20px;
        right: 0;
        background: transparent;
        border-top-right-radius: 20px;
        box-shadow: 8px -8px 0 8px  white;
      }
      .tabs input:nth-child(1):checked ~ .icons .indicator{
        top: 0;
      }
      .tabs input:nth-child(2):checked ~ .icons .indicator{
        top: 25%;
      }
      .tabs input:nth-child(3):checked ~ .icons .indicator{
        top: 50%;
      }
      .tabs input:nth-child(4):checked ~ .icons .indicator{
        top: 75%;
      }
      .contenttabs{
        position: absolute;
        top: 0px;
        left: 130px; /*ความกว้างของกล่อง*/
        width: 1030px;
        height: 450px;
        background: linear-gradient(90deg, white, #F87515); /* สี box วิสัยทัศน์ */
        border-radius: 20px;
        box-shadow: rgba(254, 255, 255, 0.25) 0px 34px 35px, rgba(255, 187, 50, 0.12) 0px -12px 30px, rgba(50, 255, 244, 0.12) 0px 4px 6px, rgba(50, 255, 244, 0.17) 0px 12px 13px, rgba(50, 255, 244, 0.09) 0px -3px 5px;
      }
      .contenttabs .contentTB{
        position: absolute;
        inset: 0;
        visibility: hidden;
        opacity: 0;
        transition: 0.5s;
        color: rgb(4, 4, 4); /* font วิสัยทัศน์ */
        font-size: 20px;
        font-weight: lighter;
        text-indent: 50px;
        font-size: 1.25rem;
        line-height: 2.25rem;
        padding: 2rem 3rem 2rem 3rem;
        text-align: justify;
      }
      .tabs input:nth-child(1):checked ~ .contenttabs .contentTB:nth-child(1),
      .tabs input:nth-child(2):checked ~ .contenttabs .contentTB:nth-child(2),
      .tabs input:nth-child(3):checked ~ .contenttabs .contentTB:nth-child(3),
      .tabs input:nth-child(4):checked ~ .contenttabs .contentTB:nth-child(4)
     {  
      opacity: 1;
      visibility: visible;
      }

/* ================== tabs ================== */

.about .circle {
    position: absolute;
    width: 30vw;
    height: 30vw;
    top: 180%;
    left: 65%;
    background: linear-gradient(145deg, rgba(52,68,85,1) 10%, rgba(0,212,255,0) 100%);
    z-index: -5;
    border-radius: 50%;
    margin:-0px 0 0 -60px;
      -webkit-animation:spin 4s linear infinite;
      -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
.about .circle1 {
    position: absolute;
    width: 20vw;
    height: 20vw;
    top: 170%;
    left: 10%;
    background: linear-gradient(145deg, rgba(52,68,85,1) 10%, rgba(0,212,255,0) 100%);
    z-index: -2;
    border-radius: 50%;
    margin:-0px 0 0 -60px;
      -webkit-animation:spin 4s linear infinite;
      -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}

.about .circle3 {
    position: absolute;
    width: 30vw;
    height: 30vw;
    top: 270%;
    left: 35%;
    background: linear-gradient(145deg, rgba(52,68,85,1) 10%, rgba(0,212,255,0) 100%);
    z-index: -2;
    border-radius: 50%;
    margin:-0px 0 0 -60px;
      -webkit-animation:spin 4s linear infinite;
      -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
.clients .circle1 {
    position: absolute;
    width: 20vw;
    height: 20vw;
    top: 370%;
    left: 75%;
    background: linear-gradient(145deg, rgba(52,68,85,1) 10%, rgba(0,212,255,0) 100%);
    z-index: -2;
    border-radius: 50%;
    margin:-0px 0 0 -60px;
      -webkit-animation:spin 4s linear infinite;
      -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}




/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.content-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0.5rem;
}

.news-card {
/*  border: 0px solid aqua;*/
  position: relative;
  height: 12rem;
  overflow: hidden;
  border-radius: 0.5rem;
  flex: 1;
  margin: 1em;
  min-width: 350px;
/*  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);*/
/*  box-shadow: #F87515 0px 10px 30px -10px;*/
-webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

@media (min-width: 900px) {

  .news-card {
      height:20rem;
  }
}

.news-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 80%);;
      z-index: 0;
    }

.news-card__card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
/*     background: rgba(255,0,0,.5); */
  }

.news-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    z-index: -1;
  }

.news-card__text-wrapper {
    position: absolute;
    bottom: 0rem;
    padding: 1rem;
    color: white;
/*     background-color: rgba(0, 0, 0, 0.4); */
    transition: background-color 1.5s ease;
  }

.news-card__title {
    transition: color 1s ease;
    margin-bottom: .5rem;
    font-size: 18px;
  }

.news-card__post-date {
    font-size: .7rem;
    margin-bottom: .5rem;
    color: #CCC;
  }

.news-card__details-wrapper {
    max-height: 0;
    opacity: 0;
    transition: max-height 1.5s ease, opacity 1s ease;
  }

@media (min-width: 900px) {
    .news-card:hover .news-card__details-wrapper {
      max-height: 20rem;
      opacity: 1;
    }
    .news-card:hover .news-card__text-wrapper {
      background-color: rgba(0, 0, 0, 0.6);
    }
    .news-card:hover .news-card__title {
      color: #F87515;
    }
    .news-card:hover .news-card__image {
      transform: scale(1.2);
      z-index: -1;
    }
  }

.news-card__excerpt {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;

  display: -webkit-box;
  -webkit-line-clamp: 3;        /* แสดง 3 บรรทัด */
  -webkit-box-orient: vertical;
  overflow: hidden;

  text-overflow: ellipsis;
}

.news-card__read-more {
    background: black;
    color: #bbb;
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 0.3rem;
    margin-top: 1rem;
/*    border: 1px solid #444;*/
    font-size: 0.8rem;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    text-decoration: none;
    width: 7rem;
    margin-left: auto;
    position: relative;
    z-index: 5;
  }

.news-card__read-more i {
      position: relative;
      left: 0.2rem;
      color: #888;
      transition: left 0.5s ease, color 0.6s ease;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }

.news-card__read-more:hover i {
      left: 0.5rem;
      color: #FFF;
      background-color: #F87515;
    }




/*--------------------------------------------------------------
# News Detail
--------------------------------------------------------------*/
.news-detail{
  min-height: 90vh;
  width: 92%;
  background-color: white;
  border-radius: 2rem 2rem 0 0;
  padding: 2.5rem;
  text-align: left;
  margin-top: -12rem;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.news-detail-header{
  font-size: 40px;
  font-weight: 500;
  padding-top: 2rem;
}

.news-detail-body{
  font-size: 22px;
  font-weight: 400;
  padding-top: 1.5rem;
  font-family: 'SUT';
  color: #000689;
}

.news-detail-body a{
  color: #9AC8CD;
}
.news-detail-body a:hover{
  color: #F87515;
}

.news-detail-date{
  font-size: 14px;
  font-weight: 300;
  color: white;
  width: 280px;
  height: 40px;
  border-radius: 50px;
  background-color: green;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  margin-top: -13rem;
  margin-right: 8rem;
  display: flex;
  justify-centent: end;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.card-cover {
  width: 98%;
  height: 40rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  margin: 0px 1rem;
}

.slider {
  display: flex;
  height: 350px;
  max-height: auto;
  overflow-y: hidden;
  overflow-x: scroll !important;
  padding: 16px;
  transform: scroll(calc(var(--i, 0) / var(--n) * -100%));
  scroll-behavior: smooth;
}
.slider::-webkit-scrollbar {
  height: 5px;
  width: 150px;
  display: none;
}
.slider::-webkit-scrollbar-track {
  background: transparent;
}
.slider::-webkit-scrollbar-thumb {
  background: #888;
}
.slider::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.slider img:hover {
  transform: scale(1.05);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.15);
}
.slide {
  position: relative;
}
.slide img {
  height: 100%;
  width: 500px;
  margin: 0 10px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}
.control-prev-btn {
  position: absolute;
  margin-top: 8rem;
  left: 5rem;
  background-color: rgba(255, 255, 255, 0.55);
  height: 100px;
  line-height: 100px;
  width: 45px;
  text-align: center;
  box-shadow: 0 1px 3px #888;
  user-select: none;
  color: #444;
  cursor: pointer;
}
.control-next-btn {
  position: absolute;
  margin-top: 8rem;
  right: 5rem;
  background-color: rgba(255, 255, 255, 0.55);
  height: 100px;
  line-height: 100px;
  width: 45px;
  text-align: center;
  box-shadow: 0 1px 3px #888;
  user-select: none;
  color: #444;
  cursor: pointer;
}
.slide img.zoomed {
  width: 300px;
  height: 600px;
  position: fixed;
  left: 25%;
  top: 0%;
  z-index: 1000;
  transform: scale(1) translatey(0) !important;
}
.overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  top: 0;
  display: none;
}
.overlay.active {
  display: block;
}
@media only screen and (max-width: 420px) {
  .slider {
    padding: 0;
  }
  .slide {
    padding: 16px 10px;
  }
  .slide img {
    margin: 0;
  }
  
}

/*--------------------------------------------------------------
#.body-core Section
--------------------------------------------------------------*/

#contact-body {
  z-index: 1;
  text-align: left;
  color: white;
}

#contact-body ul {
  list-style: none; 
  padding: 0;
  margin-left: 0rem;
  text-align: left;
}

#contact-body ul li {
  padding-bottom: 1rem;
  position: relative;
  font-size: 25px;
  padding-left: 3.5rem;
  letter-spacing: 0.5px;
  line-height: 27px;
}

#contact-body ul span {
  position: absolute;
  font-size: 20px;
  left: 0px;
  top: 4px;
  color: #F39422;
}
#contact-body p:last-child {
  margin-bottom: 0;
  letter-spacing: 1px;
}
#contact-body h2 {
  color: #FF6500;
}

.text-header {
  z-index: 1;
  text-decoration: underline 3px #FF6500;
  text-underline-offset: 20px;
}

.wrap-body {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
/*  margin-top: 0.2rem;*/
  margin-bottom: 2rem;
  list-style: none;
/*  background: rgba(0, 0, 0, 0.6);*/
  background-color: white;
  border-radius: 10px;
}

.body-core {
  width: 100%;
  min-height: 100vh;
  background: url("../../images/bg-social.jpg") top center;
  background-size: cover;
  position: relative;
}

.body-core:before {
  content: "";
/*  background: rgba(0, 0, 0, 0.6);*/
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.body-core .container {
  position: relative;
  padding-top: 74px;
  text-align: center;
}

.body-core h1 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  font-family: "Mitr", sans-serif;
}

.body-core h1 span {
  color: #F39422;
}

.body-core h2 {
  color: #F39422;
/*  color: rgba(255, 255, 255, 0.9);*/
  margin: 10px 0 0 0;
  font-size: 40px;
}

.body-core .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

.body-core .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #F39422;
}

.body-core .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
/*  line-height: 1;*/
  font-size: 20px;
/*  line-height: 26px;*/
}

.body-core .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

.body-core .icon-box h3 a:hover {
  color: #F39422;
}

.body-core .icon-box:hover {
  border-color: #F39422;
}

@media (min-width: 1024px) {
  #banner {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .body-core h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .body-core h2 {
    font-size: 20px;
    line-height: 24px;
  }
}


/*----------------------------------------------------------------*/

.cards tbody tr {
  float: left;
  width: 25rem;
  margin: 0.25rem;
/*  border: 0.0625rem solid rgba(0, 0, 0, 0.125);*/
/*  border-radius: 0.25rem;*/
/*  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);*/
}

.cards tbody td {
  display: block;
  border: none;
  text-align: center;
  background: none;
}

.cards thead {
  display: none;
}

.cards td:before {
  content: attr(data-label);
  position: relative;
  color: #808080;
  min-width: 4rem;
  text-align: center;
}

tr.selected td:before {
  color: #ccc;
}

.card-news{
  border: 0px;
  box-shadow: tomato 0px 10px 20px -10px;
  background-color: black;
  border: 1px solid tomato;
  height: 19rem;
}

.cover-news{
  width: 100%;
  height: 12rem;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-feed {
  position: relative;
  display: block;
  margin-left: -10px;
  padding: 10px 20px 15px 10px;
  float: left;
  width: 100%;
}
.news-feed a{
  text-decoration: none;
}
.news-feed-category {
  color: #F39422;
  opacity: 0.8;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

.news-feed-title {
  margin-bottom: 10px;
  font-family: "Mitr";
  font-size: 20px;
  color: #333;
  line-height: 100%;
  overflow: hidden;
  line-height: 1.6rem;
  padding-top: 0.25rem;
  text-overflow: ellipsis;
  text-align: left;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
}
.news-feed-title a {
  color: #999;
}

.news-feed-title a:hover {
  color: #F39422;
}

.news-feed-content {
  font-family: "Mitr";
  color: #727070;
  font-size: 20px;
  line-height: 115%;
}

.btn-newsall{
  --bs-btn-color: #fff;
  --bs-btn-bg: #FF6500;
  --bs-btn-border-color: #FF6500;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #FC4100;
  --bs-btn-hover-border-color: #FC4100;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FC4100;
  --bs-btn-active-border-color: #FC4100;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #FC4100;
  --bs-btn-disabled-border-color: #FF6500;
}


.btn-apply{
  --bs-btn-color: #fff;
  --bs-btn-bg:  #FF6500;
  --bs-btn-border-color: #FF6500;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #FC4100;
  --bs-btn-hover-border-color: #FC4100;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #FC4100;
  --bs-btn-active-border-color: #FC4100;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #FC4100;
  --bs-btn-disabled-border-color: #FF6500;
}


/*-------------------------------------------------------------*/


.wrap-body {
  width: 100%;
  min-height: 100vh;
/*  background: url("../../images/bg-social.jpg") top center;*/
  background-size: cover;
  position: relative;
}

.wrap-body:before {
  content: "";
/*  background: rgba(0, 0, 0, 0.1);*/
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.wrap-body .container {
  position: relative;
  padding-top: 74px;
  text-align: center;
}


/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  font-size: 14px;
  padding: 8px 30px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px color-mix(in srgb, var(--default-color), transparent 85%);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-dropdown-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}


/*--------------------------------------------------------------
# Topic
--------------------------------------------------------------*/

#topic {
  font-family: "SUT";
  font-size: 22px;
  font-weight: light;
  letter-spacing: 0.5px;
}

#topic .text-topic{
  z-index: 1;
  font-family: "SUT";
  font-size: 40px;
  font-weight: 800;
  text-decoration: underline 3px #FF6500;
  text-underline-offset: 15px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#topic ul {
  list-style: none; 
  padding: 0;
  margin-left: 2rem;
}

#topic ul li {
  padding: 0 0 8px 26px;
  position: relative;
  padding-left: 3rem;
}

#topic ul span {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: 9px;
  color: #F39422;
}

#topic p {
  /*margin-bottom: 0;*/
  letter-spacing: 0.5px;
  text-indent: 0.2em;*/
  line-height: 34px;
  white-space: normal;
  /*text-align: justify;*/
}

/*-------------------------------------------------------*/
/* Desc-card                                             */
/*-------------------------------------------------------*/
.desc-card {
  position: fixed;
  z-index: 10;
  bottom: 10px;
  right: 10px;
/*  width: 300px;
  height: 300px;*/
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  transition: all 0.3s ease;
}

.content-desc-card {
  max-width: 1024px;
  width: 100%;
  padding: 0 4%;
  padding-top: 3rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .content-desc-card {
    padding-top: 300px;
    flex-direction: column;
  }
}
.card-desc-card {
  width: 100%;
  max-width: 300px;
  min-width: 300px;
  height: 300px;
/*  background-color: #292929;*/
  margin: auto;
/*  border-radius: 10px;*/
/*  border: 2px solid rgba(7, 7, 7, 0.12);*/
/*  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.24);*/
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.icon-desc-card {
  margin: 0 auto;
  width: 100%;
  height: 150px;
  max-width: 150px;
  background: linear-gradient(135deg, #FFB534 0%, #E3651D 35%, rgba(0, 0, 0, 1) 65%);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: all 0.8s ease;
  background-position: 0px;
  background-size: 270px;
}

.material-icons.md-70 {
  font-size: 70px;
}

.card-desc-card .title-desc-card {
  width: 100%;
  margin: 0;
  font-size: 30px;
  margin-top: 20px;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card-desc-card .text-desc-card {
  width: 80%;
  margin: 0 auto;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 20px;
  color: white;
  font-weight: 200;
  opacity: 0;
  max-height: 0;
  transition: all 0.4s ease;
}

.card-desc-card:hover {
  height: 300px;
}

.card-desc-card:hover .info-desc-card {
  height: 100%;
}

.card-desc-card:hover .text-desc-card {
  transition: all 0.3s e-desc-cardase;
  opacity: 1;
  max-height: 40px;
}

.card-desc-card:hover .icon-desc-card {
  background-position: -120px;
  transition: all 0.3s ease;
}

.card-desc-card:hover .icon-desc-card i {
 background: -webkit-linear-gradient(135deg, #FFB534, #E3651D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  transition: all 0.3s ease;
}

.badge-sm {
  padding: 0.35em 0.65em;
  font-size: 0.55em;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.table, .datatable-table {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100%;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: top;
  border-color: var(--bs-table-border-color);
}
.table > :not(caption) > * > *, .datatable-table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table > tbody, .datatable-table > tbody {
  vertical-align: inherit;
}
.table > thead, .datatable-table > thead {
  vertical-align: bottom;
}

.table-group-divider {
  border-top: 2px solid currentcolor;
}

.caption-top {
  caption-side: top;
}

.table-sm > :not(caption) > * > * {
  padding: 0.25rem 0.25rem;
}

.table-bordered > :not(caption) > *, .datatable-table > :not(caption) > * {
  border-width: 1px 0;
}
.table-bordered > :not(caption) > * > *, .datatable-table > :not(caption) > * > * {
  border-width: 0 1px;
}

.table-borderless > :not(caption) > * > * {
  border-bottom-width: 0;
}
.table-borderless > :not(:first-child) {
  border-top-width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
  --bs-table-accent-bg: var(--bs-table-striped-bg);
  color: var(--bs-table-striped-color);
}

.table-active {
  --bs-table-accent-bg: var(--bs-table-active-bg);
  color: var(--bs-table-active-color);
}

.table-hover > tbody > tr:hover > *, .datatable-table > tbody > tr:hover > * {
  --bs-table-accent-bg: var(--bs-table-hover-bg);
  color: var(--bs-table-hover-color);
}

.table-primary {
  --bs-table-color: #000;
  --bs-table-bg: #cfe2ff;
  --bs-table-border-color: #bacbe6;
  --bs-table-striped-bg: #c5d7f2;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #bacbe6;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #bfd1ec;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-secondary {
  --bs-table-color: #000;
  --bs-table-bg: #e2e3e5;
  --bs-table-border-color: #cbccce;
  --bs-table-striped-bg: #d7d8da;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #cbccce;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #d1d2d4;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-success {
  --bs-table-color: #000;
  --bs-table-bg: #d1e7dd;
  --bs-table-border-color: #bcd0c7;
  --bs-table-striped-bg: #c7dbd2;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #bcd0c7;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c1d6cc;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-info {
  --bs-table-color: #000;
  --bs-table-bg: #cff4fc;
  --bs-table-border-color: #badce3;
  --bs-table-striped-bg: #c5e8ef;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #badce3;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #bfe2e9;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-warning {
  --bs-table-color: #000;
  --bs-table-bg: #fff3cd;
  --bs-table-border-color: #e6dbb9;
  --bs-table-striped-bg: #f2e7c3;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e6dbb9;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ece1be;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-danger {
  --bs-table-color: #000;
  --bs-table-bg: #f8d7da;
  --bs-table-border-color: #dfc2c4;
  --bs-table-striped-bg: #eccccf;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #dfc2c4;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e5c7ca;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-light {
  --bs-table-color: #000;
  --bs-table-bg: #f8f9fa;
  --bs-table-border-color: #dfe0e1;
  --bs-table-striped-bg: #ecedee;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #dfe0e1;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #e5e6e7;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-dark {
  --bs-table-color: #fff;
  --bs-table-bg: #212529;
  --bs-table-border-color: #373b3e;
  --bs-table-striped-bg: #2c3034;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #373b3e;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #323539;
  --bs-table-hover-color: #fff;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-responsive, .datatable-wrapper .datatable-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767.98px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 991.98px) {
  .table-responsive-lg {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1199.98px) {
  .table-responsive-xl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 1399.98px) {
  .table-responsive-xxl {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.bg-rate {
  font-family: "SUT";
  background-color: rgba(255, 255, 255, 1);
  border-radius: 10px 10px 0px 0px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding: 1rem 4rem;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.6); 
  margin-bottom: 4rem;
}

#rate {
  padding-top: 4rem;
  font-family: "SUT";
  font-size: 23px;
  color: #868686;
  font-weight: 500;
  letter-spacing: 1px;
  flex-direction: column;
}

#rate hr{
  border-top: 0px;
  border-radius: 5px;
  height: 4px;
  background: linear-gradient(145deg, #FF6500 10%, #F0A500 100%);
  opacity: 1;
  margin: 3rem 0;
}
#rate h3, h4{
  font-family: "SUT";
  font-weight: bold;
}

#rate h3{
  font-size: 40px;
  line-height: 26px;
}

#rate h4{
  font-size: 30px;
  line-height: 26px;
}


#rate .text-topic {
  font-family: "SUT";
  z-index: 1;
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #FFF;
  background: linear-gradient(145deg, #FF6500 10%, #F0A500 100%);
  margin: 2rem auto;
  border-radius: 50px;
  width: 450px;
  text-align: center;
  text-transform: uppercase;
}

#rate .rate-block {
  font-family: "SUT";
  font-size: 28px;
  color: #000826;
  letter-spacing: 1px;
  border: 5px solid #F0A500;
  border-radius: 10px;
  text-align: center;
  margin: 3.5rem;
  padding: 4rem 2rem;
  flex-direction: column;
  width: 85%;
}

.topic-rate h2 {
  font-size: 20px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #868686;
  font-family: "Mitr", sans-serif;
}

.topic-rate h2::after {
  content: "";
  width: 300px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(148deg, rgba(255,96,0,1) 20%, rgba(247,255,0,0) 100%);
  margin: 4px 10px;
}

.topic-rate p {
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: "Mitr", sans-serif;
  color: #927200;
}


/*--------------------------------------------------------------
# head-bb Section
--------------------------------------------------------------*/
#head-bb {
  width: 100%;
  min-height: 60vh;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: center; /* กลางแนวนอน */
  align-items: center;     /* กลางแนวตั้ง */
  text-align: center;

}

#head-bb:before {
  content: "";
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,1) 100%);
/*  background: rgba(0, 0, 0, 0.5);*/
  
  inset: 0;
  z-index: 1;
  position: absolute;
}

#head-bb .container {
  position: relative;
  padding-top: 0px;
  text-align: center;
  
}

#head-bb h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  font-family: "Mitr", sans-serif;
}

#head-bb span {
  color: #F39422;
}

#head-bb h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 45px;
}

#head-bb .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}

#head-bb .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #F39422;
}

#head-bb .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}

#head-bb .icon-box h3 a {
  color: #fff;
  transition: ease-in-out 0.3s;
}

#head-bb .icon-box h3 a:hover {
  color: #F39422;
}

#head-bb .icon-box:hover {
  border-color: #F39422;
}

@media (min-width: 1024px) {
  #head-bb {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #head-bb h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #head-bb h2 {
    font-size: 20px;
    line-height: 24px;
  }
}



/*--------------------------------------------------------------
# announce
--------------------------------------------------------------*/
#announce {
/*  line-height: 2em;*/
  font-size: 20px;
  font-weight: normal;
  font-family: 'SUT';
/*  padding-left: 2rem;*/
}

.topic-announce h2 {
  font-size: 20px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #868686;
  font-family: "Mitr", sans-serif;
}

.topic-announce h2::after {
  content: "";
  width: 300px;
  height: 2px;
  display: inline-block;
  background: linear-gradient(148deg, rgba(255,96,0,1) 20%, rgba(247,255,0,0) 100%);
  margin: 4px 10px;
}

.topic-announce p {
  font-size: 32px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: "Mitr", sans-serif;
  color: #FF8E00;
}

.txt-type {
  background: linear-gradient(90deg, rgba(255,186,0,1) 0%, rgba(255,186,0,0) 50%);
  border-radius: 50px;
/*  width: 400px;*/
  margin-top: 2rem;
  font-size: 30px;
  text-indent: 1.2em;
}


.txt-tb {
  background: linear-gradient(black, black) padding-box,
              linear-gradient(to top, rgba(126,105,0,0.5), rgba(186,151,7,1)) border-box;
  border: 4px solid transparent;
  border-radius: 5vh;
  margin-top: 2rem;
  font-size: 30px;
  letter-spacing: 1px;
  text-align: center;
}

.tuition-grid {
  display: grid;
/*  grid-template-columns: 1fr 3fr 1fr;*/
  padding: 0 8.541666666666667%;
  color: #777;
}

.tuition-grid p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.tuition_p {
    margin-left: 3rem;
}

.tuition_span {
/*    font-size: 20px !important;*/
    color: #FF9159;
    margin-left: 3rem;
    margin-top: 0.1rem !important;
}

.tuition-grid2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.tuition-sum {
    height: auto;
    position: relative;
    padding: 0.7vh 0;
    text-align: center;
    background: linear-gradient(90deg, rgba(126,105,0,1) 0%, rgba(185,153,41,1) 100%);
    border-radius: 50px;
}

.tuition-sum h3 {
  font-size: 20px;
}

@media only screen and (max-width: 780px) {
  .tuition-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header_content h3 {
    font-size: 1.3rem;
    margin: 0 0.5rem;
  }

  .tuition-grid p {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .tuition_p {
    margin-left: 0.5rem;
  }
}


.body-cost {
  width: 100%;
  min-height: vh;
  padding-top: 2.5vh;
/*  background: url("../../images/bg-social.jpg") top center;*/
/*  background-size: cover;*/
  background: linear-gradient(90deg, rgba(255,186,0,1) 0%, rgba(255,96,0,1) 100%);
  z-index: 2;
  position: relative;
}

section.cost {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5%;
  margin-bottom: 2vh;
}

section.cost>a {
  text-decoration: unset;
  color: unset;
  width: 10%;
  height: 150px;
  position: relative;
  min-width: 450px;
  margin: 2.5% 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.2s;
}

section.cost>a:hover {
  transform: scale(1.15);
}

section.cost>a>div.img-1 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 350px; /*ความสูงรูปภาพในกล่องลิงค์ไปหน้าเมคคา,ยานยนต์*/
  /* border-radius: 150px; */
  margin-left: 10px;
  width: 45%; /*ความกว้างรูปภาพในกล่องลิงค์ไปหน้าเมคคา,ยานยนต์*/
  height: 100%;
  background-image: url("../../images/p-01.jpg");
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  display: flex;
  overflow: hidden
}

section.cost>a>div.img-2 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 350px; /*ความสูงรูปภาพในกล่องลิงค์ไปหน้าเมคคา,ยานยนต์*/
  margin-left: 10px;
  width: 41%; /*ความกว้างรูปภาพในกล่องลิงค์ไปหน้าเมคคา,ยานยนต์*/
  height: 100%;
  background-image: url("../../images/p-06.jpg");
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  display: flex;
  overflow: hidden
}

section.cost>a>div.img-3 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 350px;
  margin-left: 10px;
  width: 40%;
  height: 100%;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

section.cost>a>div.header {
  position: relative;
  background-color: #ffffff;
  padding: 15px 30px;
  z-index: -1;
  border-radius: 15px;
  margin: -135px 0 0 0px;
  width: 100%; /*กล่องข้อความสีขาว*/
  height: 125px;
  display: flex;
}

section.cost>a>div.header span {
  margin: auto 0 auto auto;
  width: fit-content;
  width: 50%;
  min-width: max-content;
}

section.cost>a>div.header h1 {
  margin: auto 0;
  font-weight: 100;
  text-align: right;
  font-size: calc(0.5vw + 0.5vh + 5px);
}

section.cost>a>div.header p {
  margin: auto 0;
  text-align: right;
  font-weight: 600;
  font-size: calc(0.75vw + 0.5vh + 10px);
  background: linear-gradient(90deg, rgba(255,186,0,1) 0%, rgba(255,96,0,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media only screen and (max-width: 780px) {
  .apply-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header_content h2 {
    font-size: 1.3rem;
  }

  section.cost {
    gap: 1%;

    margin-bottom: 50px;
  }

  section.cost>a {
    min-width: 325px;
    height: 125px;
  }

  section.cost>a>div.img-1,
  section.cost>a>div.img-2 {
    background-size: 250px;
    height: 85%;
  }

  section.cost>a>div.header {
    padding: 15px;
    border-radius: 15px;
    margin: -90px 0 0 0px;
    height: 75px;
  }

  section.cost>a>div.header span {
    width: 70%;
  }

  section.cost>a>div.header h1 {
    font-size: calc(0.75vw + 0.5vh + 3px);
  }

  section.cost>a>div.header p {
    font-size: calc(0.75vw + 0.5vh + 6px);
  }
}

#regist {
  font-family: "SUT";
  font-size: 28px;
  font-weight: light;
  letter-spacing: 0.5px;
}

#regist .text-topic{
  z-index: 1;
  font-family: "SUT";
  font-size: 38px;
  font-weight: 800;
  text-decoration: underline 3px #FF6500;
  text-underline-offset: 15px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#regist ul {
  list-style: none; 
  padding: 0;
  margin-left: 2rem;
}

#regist ul li {
  padding: 0 0 8px 26px;
  position: relative;
  padding-left: 3rem;
}

#regist ul span {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: 9px;
  color: #F39422;
}

#regist p{
  margin-bottom: 0;
  letter-spacing: 1px;
/*  text-indent: 1.5em;*/
  line-height: 32px;
  text-align: justify;
}

.header-text {
  font-family: "SUT";
  font-size: 35px;
  font-weight: 600;
  color: white;
  width: 100%;
  height: auto;
  margin: 0 0 2vh;
  padding: 0.7vh 0;
  text-align: center;
  margin-top: 10rem;
  color: #ffffff;
  /* background: linear-gradient(90deg, rgba(66, 227, 243, 1) 0%, rgba(187, 255, 230, 1) 100%); */
  background: linear-gradient(90deg, rgba(241,105,0,1) 40%, rgba(255,184,0,1) 80%);
  border-radius: 5vh;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.bg-content {
  color: #777;
  min-height: 40vh;
  text-align: left;
/*  background-color: #F9EBEA;*/
  border: #FFF1E7 1px solid;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.img-content {
  width: 100%;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
/*  margin-top: -5rem;*/
}

@media (min-width: 992px) {
   .img-content {
    width: 100%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    margin-top: -5rem;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  }

  .header-text {
    width: 45%;
  }

}



/*--------------------------------------------------------------
# announce
--------------------------------------------------------------*/
#research {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#research .container-1 {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  --bg-color: radial-gradient(
    circle at 50% 0%,
    rgba(50, 50, 50, 1) 0%,
    rgba(12, 12, 12, 1) 100%);
  overflow: clip;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 5rem;
  width: 100%;
  height: 100dvh;
  background-image: var(--bg-color);
}

#research .category_container {
  --gap: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(var(--gap) * 2);
  width: 100%;
  height: 100%;
}

#research .content {
  --active: 0;
  cursor: pointer;
  overflow: clip;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;

  padding: 2.5rem;

  width: calc((100% / 3) - var(--gap));
  height: 100%;

  border-radius: 1rem;

  transition: width 0.5s ease-in-out;
}

#research .content:hover {
  --active: 1;
  width: calc(70% - var(--gap));
}

#research .content::before {
  content: "";
  position: absolute;
  z-index: -10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0c0c0c;
  opacity: 0.6;
}

#research  .content img {
  position: absolute;
  z-index: -20;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#research .content .profile_image {
  opacity: calc(1 - var(--active));
  transition: opacity 0.3s ease-in-out;
}

#research .profile_detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 12rem;
  transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

#research .profile_detail span {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffe6e6;
  text-wrap: nowrap;
}

#research .profile_detail p {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffe6e6;
}

#research .profile_quote {
  width: 22rem;
  transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
}

#research .profile_quote p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffe6e6;
  transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
  transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
}


/*//
//  create an 'accordion' wrapper for the quote text 
//  1 set initial height to zero fr  
//  2 add overflow hidden to hide quote text 
//  3 add transtion for grid-template-rows
// */
#research .wrapper {
  display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
  transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

/*//
//  add min-height 0 on the quote text to override the 
//  default max-content of fr - add a bit of individual
//. animation for the quote (to not follow detail)
// */
#research .profile_quote { 
  min-height: 0; 
  transform: translateY(50%);
  opacity: 0;
  transition: 
    opacity 0.8s ease-in-out,
    transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s
  ; 
}

/*
//  expand (animated) wrapper row height to 1 fr
//  (this will animate detail up when making room for quote)*/
#research .content:hover .wrapper {
    grid-template-rows: 1fr;
}

/*// remove translate to male quote slide in */
#research .content:hover .profile_quote {
  transform: none;
  opacity: 1; 
}

/*---------------------------------------------------------------------------------------------*/

.box {
  width: 100%;
  max-width: 300px;
  height: 320px;
  margin: 15px;
  border-radius: 1vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease-in-out;
  
  &:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);

    .card-footer {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
/*      color: #FF6500;*/
    }

    .imgBx {
      transform: scale(1.3);
    }
  }

  .imgBx {
    transition: 0.3s ease-in-out;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  .card-footer {
    font-size: 18px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    visibility: hidden;
    transform: translateY(100%);
    transition: 0.3s ease-in-out;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    
    h3 {
      font-size: 22px;
      letter-spacing: 1.5px;
      font-family: "SUT";
      font-weight: 600;
      padding: 2.5px 0;
    }
  }
}

/**** Social Icons *****/

/* กล่องหลัก */
.box {
  position: relative;
}

/* ===== ICONS ===== */
.social-icons {
  position: absolute;

  /* ⭐ ยกไอคอนขึ้นเหนือชื่อ */
  bottom: 110px;        
  left: 45%;
  transform: translateX(-50%) translateY(20px);

  display: flex;
  gap: 8px;
  z-index: 10;

  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
}

/* hover เท่านั้น */
.box:hover .social-icons {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.social-icons li {
  list-style: none;
}


/* 🔥 ขนาดไอคอน = เท่าเดิม */
.social-icons li a {
  display: block;
  width: 30px;        /* 🔸 ขยายพื้นหลัง */
  height: 30px;       /* 🔸 ขยายพื้นหลัง */
  line-height: 35px;  /* 🔸 ให้ไอคอนอยู่กึ่งกลาง */
  text-align: center;
  

  border-radius: 1vh;
  background: rgba(0, 0, 0, 0.85);
  
  font-size: 20px;      /* เท่าเดิม */
  color: #FF6500;
  font-weight: bold;
}





.box:hover .social-icons li a {
  transform: translateY(0px);
  opacity: 1; 
}

.social-icons li a:hover {
  background: #FF6500; 
  border-radius: 5vh;
/*  transition: .1s;*/
  color: #fff;
}

.social-icons li a {
  transition: .3s;
    
  &:hover {
      transform: rotateY(360deg);
      color: #fff;
  } 
}

.box:hover li:nth-child(1) a {
  transition-delay: 0.1s;
}
.box:hover li:nth-child(2) a {
  transition-delay: 0.2s;
}
.box:hover li:nth-child(3) a {
  transition-delay: 0.3s;
}
.box:hover li:nth-child(4) a {
  transition-delay: 0.4s;
}


#profile{ 
  font-family: "SUT";
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  color: #777;

  h1 {
      color: #FF6500;
  }

  a {
    color: #FF6500;
    font-size: 22px;
    text-decoration: none;
  }
  a:hover, a:focus {
    color: royalblue;
  }

  .name_th {
    font-size: 24px;
    font-weight: 600;
  }

  .icon {
    font-size: 20px;
    color:#FFA600;
  }
  ul {
    padding-left: 0;
  }
  p {
    margin-bottom: 0.5rem;
  }
}

.faq-accordion > li  {
    border-top: 1px solid rgba(198, 198, 198, 0.4);
    color: #777;
    padding: 1rem 0;
    list-style-type: none;
}

.faq-accordion li a {
    color: #777;
    padding: 1.125em;
}

.faq-accordion > li:last-child {
    border-bottom: 1px solid rgba(198, 198, 198, 0.4);
}

.faq-accordion > li > a:before {
    content: '';
    padding-right: 0.313em;
}

.faq-accordion > li > a:after {
    color: #ff8300;
    content: '+';
    float: right;
    font-weight:300;
/*        margin-right: 1.25em;*/
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
            transform: scale(2);
    overflow-y: hidden;
}

.faq-accordion > li > a.expanded:after {
    color:  #ffa326;
    content: '\2212';
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
            transform: scale(2);
}

.faq-accordion > li > a.expanded {
  font-weight: 700;
  opacity: 1 !important;
}

.faq-content > li {
  opacity: 1 !important;
  list-style-type: none;
  padding-left: 4vh;
}

.faq-content {
/*        background-color: #eee;*/
    border-radius: 1vh;
    margin: 20px 0 20px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 2px 0px;
    padding-bottom: 2vh;
}

/*  .faq-content p:before {
  content: '';
  color: #ff8300;
  float: left;
  font-weight: 700;
  margin-right: 0;
}
*/
/*  .faq-content p {
    margin: 0 1.2em;
    padding: 1.250em 0;
}
*/

.faq-selected {
  color: #ff8300 !important;
  -webkit-transition: all 1s ease;
         transition: all 1s ease;
}

.slide-left {

  -webkit-animation-name: slide-left; 
  -moz-animation-name: slide-left;  
    animation-name: slide-left;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s; 
    
  -webkit-animation-timing-function: ease-in-out; 
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;

}

@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(150%);
  }
  50%{
    -webkit-transform: translateX(-8%);
  }
  65%{
    -webkit-transform: translateX(4%);
  }
  80%{
    -webkit-transform: translateX(-4%);
  }
  95%{
    -webkit-transform: translateX(2%);
  }     
  100% {
    -webkit-transform: translateX(0%);
  }
}

@-moz-keyframes slide-left {
  0% {
    -webkit-transform: translateX(150%);
    -moz-transform: translateX(150%);
            transform: translateX(150%);
  }
  50%{
    -webkit-transform: translateX(-8%);
    -moz-transform: translateX(-8%);
            transform: translateX(-8%);
  }
  65%{
    -webkit-transform: translateX(4%);
    -moz-transform: translateX(4%);
            transform: translateX(4%);
  }
  80%{
    -webkit-transform: translateX(-4%);
    -moz-transform: translateX(-4%);
            transform: translateX(-4%);
  }
  95%{
    -webkit-transform: translateX(2%);
    -moz-transform: translateX(2%);
            transform: translateX(2%);
  }     
  100% {
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
            transform: translateX(0%);
  }
}

@keyframes slide-left {
  0% {
    -webkit-transform: translateX(150%);
    -moz-transform: translateX(150%);
            transform: translateX(150%);
  }
  50%{
    -webkit-transform: translateX(-8%);
    -moz-transform: translateX(-8%);
            transform: translateX(-8%);
  }
  65%{
    -webkit-transform: translateX(4%);
    -moz-transform: translateX(4%);
            transform: translateX(4%);
  }
  80%{
    -webkit-transform: translateX(-4%);
    -moz-transform: translateX(-4%);
            transform: translateX(-4%);
  }
  95%{
    -webkit-transform: translateX(2%);
    -moz-transform: translateX(2%);
            transform: translateX(2%);
  }     
  100% {
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
            transform: translateX(0%);
  }
}

#de-contnt {
  ol, ul {
  padding-left: 2rem;
  }
}

#show-sm {
display: none;
}

@media (max-width: 768px) {
#show-sm {  display: block; }
#show-lg {  display: none; }
}


.lab-detail {
  min-height: 100vh;
  width: 95%;
  background-color: white;
  border-radius: 1rem 1rem 0 0;
  padding: 2.5rem;
  text-align: left;
  margin-top: -12rem;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  color: #777;
  font-family: "SUT";
  font-size: 22px;

}


 /*--------------------------------------------------------------
  # Team
  --------------------------------------------------------------*/
  .team {
    background: #fff;
    padding: 30px 5px;
  }

  .team .member {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  }

  .team .member .member-img {
    position: relative;
    overflow: hidden;
  }

  .team .member .social {
    position: absolute;
    left: 0;
    bottom: 30px;
    right: 0;
    opacity: 0;
    transition: ease-in-out 0.3s;
    text-align: center;
  }

  .team .member .social a {
    transition: color 0.3s;
    color: #151515;
    margin: 0 3px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    transition: ease-in-out 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .team .member .social a:hover {
    color: #151515;
    background: #ffc451;
  }

  .team .member .social i {
    font-size: 18px;
    line-height: 0;
  }

  .team .member .member-info {
    padding: 25px 15px;
  }

  .team .member .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 22px;
    color: #151515;
  }

  .team .member .member-info span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #aaaaaa;
  }

  .team .member .member-info p {
    font-style: italic;
    font-size: 20px;
    line-height: 26px;
    color: #777777;
  }

  .img-fluid {
    max-width: 100%;
    max-height: 250px;
  }
 /* ปุ่มตารางเรียน */
  .drive-btn{
    background: #ff8c00;
    border-radius: 12px;
    color: white;
    font-size: 30px;
    font-weight: 600;
    text-decoration: underline;
    /*color: #ff7a00;*/
    display: inline-flex;
    width: auto !important;    /* ห้ามกว้างเต็ม */
    max-width: fit-content;
    padding: 6px 12px  !important; /* ปรับ padding ให้เหมาะสม */
    transition: 0.25s;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    margin-left: 45px;
  }
  .drive-btn:hover {
    background: #ffffff;
    transform: scale(1.06);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.25);
  }


  /* ปุ่มแยกหลักสูตร ตามชั้นปี */
 /* container หลัก */
.program-filter{
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

/* ให้การ์ดแต่ละอันกินพื้นที่เท่ากัน */
.program-card-mecha,
.program-card-auto{
  flex: 1;
  border-radius: 14px;
  padding: 16px 18px;
}

/* ---------- เมคคา (ส้ม) ---------- */
.program-card-mecha{
  background: #fff4ec;
  border: 1px solid #ffbf91;
}

.program-card-mecha .program-title{
  color: #e65100;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.year-buttons-mecha{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;      /* จัดกึ่งกลางแนวนอน */
  justify-content: center;  /* จัดกึ่งกลางแนวตั้ง */
}

.year-buttons-mecha .year-btn{
  background: #ffe0c7;
  color: #e65100;
  border: 1px solid #ffb47d;
  padding: 6px 14px;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
}

.year-buttons-mecha .year-btn:hover{
  background: #e65100;
  color: #fff;
}

/* ---------- ยานยนต์ (น้ำเงิน) ---------- */
.program-card-auto{
  background: #f2f6ff;
  border: 1px solid #b6caff;
  
  

}

.program-card-auto .program-title{
  color: #1c3faa;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.year-buttons-auto{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;      /* จัดกึ่งกลางแนวนอน */
  justify-content: center;  /* จัดกึ่งกลางแนวตั้ง */
}

.year-buttons-auto .year-btn{
  background: #dde7ff;
  color: #1c3faa;
  border: 1px solid #a9bfff;
  padding: 6px 14px;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
}

.year-buttons-auto .year-btn:hover{
  background: #1c3faa;
  color: #fff;
}


.break-line{
  flex-basis: 100%;
  height: 0;
}


  /* ^^^^ ปุ่มแยกหลักสูตร ตามชั้นปี ^^^^^ */



.project-btn {
    margin-top: 50px;
}
