@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:wght@200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins";
  scroll-behavior: smooth;
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #9b9b9b;
  border-radius: 5px;
  cursor: pointer;
}
body {
  background-color: #f8f8f8;
  overflow-x: hidden;
}

::selection {
  background: #66c887;
  color: #fff;
}
.hiddenHeader {
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  width: 100vw;
  transform: translateY(-50px);
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  transition: 0.3s;
}
.hiddenHeader img {
  width: 50px;
}
.hiddenHeader.showHeader {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu {
  width: 100%;
  position: absolute;
}
.menu .socials {
  align-items: center;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  background-color: #c7ddcb;
  padding: 10px 300px;
  gap: 10px;
}
.menu .socials p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b4b4b;
}
.menu .socials a {
  color: #007f45;
  font-size: 13px;
  height: 25px;
  width: 25px;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}
.menu .navigation {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: #fff;
  width: 100%;
  height: 90px;
  z-index: 1000;
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.05);
}
.menu .navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
}
.menu .navigation ul li,
.menu .navigation ul li a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b4b4b;
  cursor: pointer;
  text-align: center;
}
.menu .navigation ul li i {
  font-size: 0.6rem;
  color: #4b4b4b;
}
.menu .navigation img {
  width: 60px;
}
.menu .navigation button {
  padding: 8px 20px;
  background: #40916c;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.menu .navigation button a {
  color: #fff;
  font-size: 0.9rem;
}
.menu .navigation button:hover {
  background: #2d6a4f;
}
.menu .navigation .dropdown {
  position: relative;
  padding: 40px 0;
}
.menu .navigation .dropdown .dropdown-menu {
  display: none;
}
.menu .navigation .dropdown.open i {
  transform: rotate(180deg);
  transition: 0.3s;
}
.menu .navigation .dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 80px;
  left: 0;
  background: #fff;
  padding: 20px 35px;
  white-space: nowrap;
  border-radius: 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  gap: 20px;
}
.menu .navigation .dropdown-menu li a {
  font-weight: 500;
  color: #4b4b4b;
}
.menu .navigation .dropdown-menu li a:hover {
  color: #40916c;
}
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #4b4b4b;
  cursor: pointer;
}
.contact {
  padding: 15px 0px;
  z-index: 1000;
  position: fixed;
  top: 40vh;
  left: 0;
  align-items: center;
  background: #245b44;
  color: #fff;
  height: 120px;
  width: 45px;
}
.contact .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
}
.contact span {
  font-weight: 400;
  font-size: 12px;
  position: absolute;
  bottom: -50px;
  white-space: nowrap;
  transform: rotate(-90deg);
}
.backToTop {
  display: flex;
  font-size: 23px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: #40916c;
  color: #fff;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 100000;
  text-decoration: none;
  bottom: 40px;
  right: -500px;
  transition: 0.5s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  opacity: 0;
}
.backToTop img {
  width: 40px;
}
.backToTop.activeBtn {
  visibility: visible;
  opacity: 1;
  right: 40px;
}
.backToTop:hover {
  color: #40916c;
  background: #fff;
}
.contact {
  padding: 15px 0px;
  z-index: 1000;
  position: fixed;
  top: 40vh;
  left: 0;
  align-items: center;
  background: #245b44;
  color: #fff;
  height: 120px;
  width: 45px;
}
.contact .container {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
}
.contact span {
  font-weight: 400;
  font-size: 12px;
  position: absolute;
  bottom: -50px;
  white-space: nowrap;
  transform: rotate(-90deg);
}
.slider {
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: -1;
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}
.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(30%);
}

.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}
.slider .split {
  z-index: 100000;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 70px;
  font-size: 8rem;
}
.slider .split span {
  font-weight: 700;
  text-transform: uppercase;
  font-family: "kanit";
}

.arrows {
  position: absolute;
  top: 40%;
  right: 50px;
  z-index: 100;
  display: flex;
  gap: 10px;
  display: none;
}
.procedures {
  width: 100vw;
  display: flex;
  align-items: center;
}
.procedures .programs {
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-content: center;
  width: calc(100% - 60%);
}
.procedures .programs .program-title {
  font-size: 2rem;
  font-weight: 600;
}
.procedures .programs .prog-nav {
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 5px;
  width: 250px;
  padding: 0 30px;
  height: 40px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.procedures .programs .prog-nav.openProgram {
  background: #d8f3dc;
}
.procedures .programs .prog-nav.openProgram i {
  transform: translateX(10px);
  color: #fff;
}
.procedures .programs .prog-nav i {
  transition: 0.2s ease;
  font-size: 0.8rem;
  color: #838383dd;
}
.procedures .programs .prog-nav:hover i {
  transform: translateX(10px);
}
.procedures .program-contents {
  width: calc(100% - 40%);
}
.procedures .procedure .wrapper {
  width: 50%;
  position: relative;
  padding: 0 20px 0 20px;
}
.procedures .procedure .wrapper .line {
  height: 100%;
  width: 1px;
  background: #fff;
  position: absolute;
  right: 0;
  top: 0;
}
.procedures .procedure .wrapper ul {
  margin: 20px 0 0 20px;
}
.procedures .procedure .wrapper ul li {
  list-style: square;
  margin: 5px;
  font-size: 1rem;
}
.procedures .program-contents .procedure {
  height: auto;
  background: #245b44;
  padding: 20px;
  color: #fff;
  display: flex;
}
.procedures .program-contents .timetable {
  padding: 20px;
  height: 300px;
  background: #d8f3dc;
  position: relative;
}
.procedures .program-contents .timetable h3 {
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #66c887;
  font-size: 30px;
  font-family: "kanit";
  text-align: center;
}
.procedures .program-contents .timetable h3 a{
	padding: 3px 10px;
	background: #fff;
	border-radius: 5px;
	font-size: 20px;
	box-shadow: 0 0 30px rgba(0,0,0,0.05);
	text-transform: uppercase;
	color: #3a5a40;
}
.procedures .program-contents .timetable p{
	font-size: 40px;
	margin-bottom: -50px;
}
.procedures .program-contents .timetable span {
  color: #4b4b4b;
  
}
.reminder {
  background: #fff;
  padding: 50px 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 15vw;
}
.reminder .content {
  width: 50%;
}
.reminder .content .title {
  margin-bottom: 20px;
}
.reminder .content .title h2 {
  font-size: 3.5rem;
  white-space: nowrap;
  margin-left: -10px;
  margin-bottom: -10px;
}
.reminder .content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reminder .content li {
  list-style: decimal;
  font-size: 0.9rem;
  font-weight: 400;
}
.reminder .content .wrap .sub li {
  list-style: circle;
  margin-left: 30px;
}
.reminder .content li span {
  font-weight: 700;
  font-size: 1.1rem;
}
.reminder .image img {
  width: 250px;
}
/* footer */
footer {
  width: 100%;
  height: 19cm;
  position: relative;
  overflow: hidden;
  padding: 20px 60px;
}
footer .footer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
footer .footer-container {
  position: relative;
  z-index: 1;
  height: 100%;
}
footer .footer-wrapper {
  height: 90%;
  display: flex;
}
footer .footer-wrapper .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}
footer .footer-wrapper .wrapper:nth-of-type(2) {
  align-items: flex-end;
  padding: 90px 0;
  margin-top: 50px;
}
footer .footer-wrapper .wrapper img {
  width: 800px;
}
footer .footer-wrapper .wrapper .footer-links {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 0.9;
}
footer .footer-wrapper .wrapper .footer-links .links {
  display: flex;
  gap: 30px;
  font-size: 2rem;
  margin-top: 10px;
}
footer .footer-wrapper .wrapper .footer-links .links a {
  color: #fff;
}
footer .footer-wrapper .wrapper .footer-links span {
  color: #74c69d;
}
footer .footer-wrapper .wrapper .navigational-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}
footer .footer-wrapper .wrapper .navigational-link .navi {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
footer .footer-wrapper .wrapper .navigational-link .navi a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
footer .copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  height: 10%;
}
footer .footer-wrapper .wrapper .footer-desc {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: right;
  color: #fff;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper
  a {
  font-size: 0.8rem;
  text-align: right;
}
footer
  .footer-wrapper
  .wrapper
  .navigational-link
  .navi.contacts-link
  .contacts-wrapper
  span {
  font-size: 0.95rem;
  color: #59e9a8;
}
@media only screen and (min-width: 300px) and (max-width: 900px) {
  .menu .nav {
    margin-top: 15%;
    left: 5%;
    gap: 0px;
  }
  .menu .submenu-item a {
    white-space: normal;
  }
  .menu .supportServices .submenu {
    margin-left: 7%;
    width: 100%;
  }
  .menu .supportServices a {
    font-size: 0.85rem;
  }
  .contact {
    display: none;
  }
  .contact-nav {
    display: none;
  }
  .slider .split {
    font-size: 4rem;
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .procedures {
    flex-direction: column;
  }
  .procedures .programs {
    padding: 40px 0;
    width: 100%;
  }
  .procedures .program-contents {
    width: 100%;
  }
  .procedures .procedure .wrapper ul li {
    font-size: 0.85rem;
  }
  .reminder {
    padding: 30px;
  }
  .reminder .content .title h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .reminder .content {
    width: 100%;
  }
  .reminder .content li {
    font-size: 0.8rem;
  }
  .reminder .image {
    display: none;
  }
  .procedures .program-contents .timetable h3{
	  font-size: 20px;
  }
  .procedures .program-contents .timetable p{
	  font-size: 30px;
	  line-height: 100%;
	  margin-bottom: -30px;
  }
  .procedures .program-contents .timetable h3 a{
	line-height: 200%;
}
   footer {
    padding: 5px 15px;
  }
  footer .footer-bg {
    object-position: right center;
  }
  footer .footer-wrapper {
    flex-direction: column;
  }
  footer .footer-wrapper .wrapper {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  footer .footer-wrapper .wrapper img {
    width: 400px;
  }
  footer .footer-wrapper .wrapper:nth-of-type(2) {
    padding: 10px 0;
    margin-top: 0;
  }
  footer .footer-wrapper .wrapper .footer-links {
    font-size: 2rem;
    margin-top: -40px;
  }
  footer .footer-wrapper .wrapper .footer-links .links {
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi {
    font-size: 0.9rem;
    font-weight: 600;
    gap: 5px;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi a {
    font-size: 0.7rem;
    font-weight: 400;
  }
  footer .footer-wrapper .wrapper .footer-desc {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
    margin-top: 50px;
  }
  footer .footer-container .copyright p {
    font-size: 0.75rem;
  }
  footer .footer-wrapper .wrapper .navigational-link .navi.contacts-link {
    margin-left: auto;
    text-align: right;
  }
  footer .copyright {
    height: 5%;
  }
  footer .footer-wrapper {
    height: 95%;
  }
}
