@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 {
  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;
}
.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 {
  margin-bottom: 50px;
  height: 100svh;
  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;
}
@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 0.7s ease-in-out 1 forwards;
}
.slider .list .item.active h2 {
  animation-delay: 0.5s;
}
.slider .list .item.active p:nth-child(3) {
  animation-duration: 1.3s;
}
.slider .split {
  z-index: 100000;
  color: #fff;
  position: absolute;
  bottom: 130px;
  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;
}
.courses-container {
  position: absolute;
  width: 90%;
  background: transparent;
  backdrop-filter: blur(30px);
  height: 110px;
  border-radius: 15px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 30px rgb(0, 0, 0, 0.3);
  padding: 15px 30px;
  overflow: hidden;
}
.courses-container .courses-wrapper {
  width: calc(280px * 12);
  display: flex;
  justify-content: space-between;
  animation: scroll 40s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 6));
  }
}
.courses-container .courses-title {
  font-weight: 700;
  color: #fff;
}
.courses-container .wrapper {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}
.courses-container .wrapper img {
  width: 35px;
  height: 35px;
}
.courses-container .wrapper .text-wrapper {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 9px;
}
.courses-container .wrapper .text-wrapper .course-desc {
  white-space: nowrap;
  font-weight: 800;
  font-size: 11px;
}

.title {
  margin: 70px 60px;
}
.title span {
  font-size: 0.9rem;
}
.textFromLeft {
  transform-origin: left;
  transform: scaleX(0);
  transition: 0.5s;
  transition-delay: 0.1s;
}
.right .text-right {
  transform-origin: right;
  transform: scaleX(0);
  transition: 0.5s;
  transition-delay: 0.1s;
  text-align: right;
}
.course-info.revealActive {
  transform: scaleX(1);
}

section .course-img img {
  width: 370px;
  opacity: 0;
  transition: 0.5s;
  position: relative;
  bottom: -100px;
}
section .course-img img.revealActiveimg {
  opacity: 1;
  bottom: 0;
}
section .course-info {
  margin-top: 30px;
  width: 70vw;
}
section .course-info span {
  font-size: 20px;
}
section .course-info h2 {
  font-size: 50px;
  color: #2d6a4f;
  line-height: 120%;
  margin-bottom: 20px;
}
section .course-info p {
  font-size: 13px;
  width: 500px;
}
section .text-right p {
  margin-left: auto;
}
.courses {
  height: 90vh;
  width: 100vw;
  display: flex;
  align-items: center;
  padding: 10px 70px;
  justify-content: space-between;
  position: relative;
}

.courses button {
  padding: 5px 20px;
  border-radius: 5px;
  border: none;
  background-color: #2d6a4f;
  color: #fff;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.courses button:hover {
  opacity: 0.8;
}

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 .socials {
    padding: 10px 20px;
    justify-content: center;
  }
  .menu .navigation img {
    width: 45px;
  }
  .menu .navigation {
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    height: 70px;
  }

  .menu .navigation ul {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    gap: 20px;
    padding: 20px 0;
    display: none;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.05);
  }

  .menu .navigation ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu .navigation button {
    width: 80%;
    margin: auto;
  }

  .menu .navigation .dropdown {
    padding: 10px 0;
  }
  .menu .navigation .dropdown.open .dropdown-menu {
    position: static;
    padding: 10px 20px;
    box-shadow: none;
    background: none;
  }
  .menu .navigation .dropdown.open .dropdown-menu li a {
    font-size: 0.8rem;
  }
  .contact-nav {
    display: none;
  }
  .contact {
    display: none;
  }
  .slider .split {
    font-size: 3.7rem;
    white-space: nowrap;
    left: 50%;
    bottom: 100px;
    transform: translate(-50%, -50%);
  }

  .courses-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
  }
  .courses {
    height: 65vh;
    padding: 10px;
  }
  section .course-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  section .course-info h2 {
    font-size: 2rem;
  }
  section .course-info p {
    width: 100%;
  }
  .course-img img {
    display: none;
  }
  .program-nav .autoBlur {
    font-size: 3.5rem;
    gap: 20px;
  }
    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%;
  }
}
