@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@600&display=swap");

body {
  overflow-x: hidden;
}

/* Navbar */
.nav {
  -webkit-animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
  animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
}

.navbar-logo {
  width: 200px;
}

.nav-link {
  color: #112957;
  font-weight: 400;
}

.bi-list {
  color: #112957;
}

.btn-contact {
  display: inline-block;
  border-radius: 0;
  color: #fff;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-contact:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #331391;
  border-radius: 0;
  z-index: -2;
}

.btn-contact:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #3e44ec;
  transition: all 0.3s;
  border-radius: 0;
  z-index: -1;
}

.btn-contact:hover,
.btn-contact:focus {
  color: #fff;
}

.btn-contact:hover:before {
  width: 100%;
}

/* Header */
h1 {
  font-size: 24px;
}

.header-content {
  font-size: 12px;
}

/* About */
.text-main {
  color: #26264b;
}

.about-content {
  color: #64676c;
  font-weight: 400;
}

/* Timeline */
.timeline {
  display: none;
}

.timeline-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.timeline-steps .timeline-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 1rem;
}

.timeline-steps .timeline-content {
  width: 10rem;
  text-align: center;
}

.timeline-steps .timeline-content .inner-circle {
  border-radius: 1.5rem;
  height: 1rem;
  width: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3e44ec;
}

.timeline-steps .timeline-content .inner-circle:before {
  content: "";
  background-color: #3e44ec;
  display: inline-block;
  height: 3rem;
  width: 3rem;
  min-width: 3rem;
  border-radius: 6.25rem;
  opacity: 0.5;
}

/* Contributions */
.solitary-heading {
  font-size: 28px;
  font-family: "Sarabun", sans-serif;
}

.bg-subordinate {
  background-color: #331391d1;
}

.contributions img {
  margin: 1rem 0;
  height: 300px;
  width: auto;
}

.contributions-cards-content {
  padding: 0 2rem 3rem;
}

.contributions-cards-content-min {
  font-size: 0.75rem;
}

/* Gallery */
.gallery-images img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.gallery-images img:hover {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

/* Experience */
.bg-main {
  background-color: #331391;
}

.company_cards img {
  width: 120px;
  height: auto;
}

/* Testimonials */
.gtco-testimonials {
  position: relative;
  margin-top: 30px;
}

.gtco-testimonials .owl-stage-outer {
  padding: 30px 0;
}

.gtco-testimonials .owl-nav {
  display: none;
}

.gtco-testimonials .owl-dots {
  text-align: center;
}

.gtco-testimonials .owl-dots span {
  position: relative;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: block;
  background: #3e44ec !important;
  border: 2px solid #3e44ec;
  margin: 0 5px;
}

.gtco-testimonials .owl-dots .active {
  box-shadow: none;
}

.gtco-testimonials .owl-dots .active span {
  background: #01b0f8;
  box-shadow: none;
  height: 12px;
  width: 12px;
  margin-bottom: -1px;
}

.gtco-testimonials .card {
  background: #fff;
  box-shadow: 0 8px 30px -7px #3e44ec75;
  margin: 0 20px;
  padding: 0 10px;
  border-radius: 20px;
  border: 0;
}

.gtco-testimonials .card .card-img-top {
  max-width: 100px;
  border-radius: 50%;
  margin: 15px auto 0;
  width: 100px;
  height: 100px;
}

.gtco-testimonials .card h5 {
  color: #331391;
  font-size: 18px;
  line-height: 1.3;
}

.gtco-testimonials .card h5 span {
  font-size: 14px;
  color: #666;
}

.gtco-testimonials .card p {
  font-size: 14px;
  color: #555;
  padding-bottom: 15px;
  text-align: justify;
  padding: 1.5rem;
}

.gtco-testimonials .active {
  opacity: 0.5;
  transition: all 0.3s;
}

.gtco-testimonials .center {
  opacity: 1;
}

.gtco-testimonials .center h5 {
  font-size: 20px;
}

.gtco-testimonials .center h5 span {
  font-size: 16px;
}

.gtco-testimonials .center .card-img-top {
  max-width: 100%;
  height: 120px;
  width: 120px;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  outline: 0;
}
.owl-carousel button.owl-dot {
  outline: 0;
}

/* Footer */
.footer {
  background-color: #060018;
  padding: 2rem;
}

.footer p {
  color: #868c98;
}

ul.footer-social li {
  list-style: none;
}

ul.footer-social li a {
  width: 30px;
  height: 30px;
  background-color: #fff;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  z-index: 1;
}

ul.footer-social li a .icon {
  position: relative;
  color: #262626;
  transition: 0.5s;
  z-index: 3;
}

ul.footer-social li a:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

ul.footer-social li a:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: 0.5s;
  z-index: 2;
}

ul.footer-social li a:hover:before {
  top: 0;
}

ul.footer-social li:nth-child(1) a:before {
  background: #3b5999;
}

ul.footer-social li:nth-child(2) a:before {
  background: #55acee;
}

ul.footer-social li:nth-child(3) a:before {
  background: #0077b5;
}

ul.footer-social li:nth-child(4) a:before {
  background: #dd4b39;
}

a.footer-link,
a:hover.footer-link,
a:focus.footer-link {
  color: #868c98;
}

.underline {
  position: relative;
}

.underline::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #868c98;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  .underline:hover::before {
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* Copyright */
.copyright {
  border-top: 1px solid #2d3544;
  background-color: #060018;
  color: #868c98;
}

.copyright-truncate {
  visibility: hidden;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Navbar */
  .navbar-logo {
    width: 281px;
  }

  /* Header */
  h1 {
    font-size: 36px;
  }

  .header-content {
    font-size: 18px;
  }

  /* Experience */
  .company_cards img {
    width: 150px;
  }

  /* Contributions */
  .solitary-heading {
    font-size: 34px;
  }

  .contributions-cards-content {
    padding: 5rem 3rem;
  }

  .contributions img {
    height: 400px;
  }

  .contributions-cards-content-min {
    font-size: 1rem;
  }

  /* Gallery */
  .w-md-25 {
    width: 25% !important;
  }

  /* Appointment */
  .w-md-50 {
    width: 50% !important;
  }

  /* Testimonials */
  /* Footer */
  /* Copyright */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Navbar */
  /* Header */
  h1 {
    font-size: 42px;
  }
  /* About */
  /* Timeline */
  .timeline {
    display: block;
  }

  .timeline-steps .timeline-step:not(:last-child):after {
    content: "";
    display: block;
    border-top: 0.25rem dotted #3b82f6;
    width: 3.46rem;
    position: absolute;
    left: 7.5rem;
    top: 0.3125rem;
  }

  .timeline-steps .timeline-step:not(:first-child):before {
    content: "";
    display: block;
    border-top: 0.25rem dotted #3b82f6;
    width: 3.8125rem;
    position: absolute;
    right: 7.5rem;
    top: 0.3125rem;
  }

  /* Contributions */
  .solitary-heading {
    font-size: 40px;
  }

  .contributions-cards-content {
    padding: 5rem 2rem;
  }

  /* Experience */
  .company_cards img {
    width: 196px;
  }

  /* Testimonials */
  /* Footer */
  .footer {
    padding: 5rem;
  }

  /* Copyright */
  .copyright-truncate {
    visibility: visible;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Navbar */
  /* Header */
  h1 {
    font-size: 48px;
  }
  /* Contributions */
  .solitary-heading {
    font-size: 46px;
  }
  /* Experience */
  /* Testimonials */
  /* Footer */
  /* Copyright */
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Navbar */
  /* Header */
  h1 {
    font-size: 64px;
  }

  /* Contributions */
  .solitary-heading {
    font-size: 54px;
  }

  .contributions-cards-content:nth-child(odd) {
    padding: 0 5rem 0 0;
    margin: 0 5rem;
  }

  .contributions-cards-content:nth-child(odd) {
    padding: 0 0 0 5rem;
    margin: 0 5rem;
  }

  /* Experience */
  /* Testimonials */
  /* Footer */
  /* Copyright */
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  /* Navbar */
  /* Header */
  h1 {
    font-size: 72px;
  }

  /* About */
  .about h2 {
    font-size: 58px;
  }

  /* Contributions */
  .contributions img {
    height: 500px;
  }

  /* Experience */
  /* Testimonials */
  /* Footer */
  /* Copyright */
}
