@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&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
    url(assets/Webbg.jpg) center center / cover no-repeat fixed;
  color: #333;
  animation: fadeIn 2s ease-in-out;
}

/* Navbar styles */
.navbar {
  border-bottom: 1px solid #d8d3d3;
  padding-left: 5%;
  background-color: #fff;
}

.navbar-nav {
  margin-left: 47%;
}

.nav-link {
  margin: 0 15px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: #ffb200;
  transform: scale(1.1);
}

.nav-link:active,
.nav-link.active {
  color: #ffb200;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #ffb200;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
  background: #ffb200;
}

/* Header section styles */
.headercontainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 89.4vh;
  color: #fff;
  animation: slideDown 1.5s ease-in-out;
}

.headercontainer h1 {
  font-family: "Kanit", sans-serif;
  color: #ffb200;
  font-size: 4em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
    -2px -2px 4px rgba(255, 255, 255, 0.3);
  animation: bounceIn 2s ease-in-out;
}

.headercontainer h5 {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  font-size: 1.5em;
}

/* Profile section styles */
.profilecontainer {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px 0;
  animation: fadeIn 2s ease-in-out;
}

.profilecontainer h2 {
  font-family: "Kanit", sans-serif;
  color: #333;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.profilecontainer h4 {
  font-family: "Kanit", sans-serif;
  color: #ffb200;
  font-size: 1.8em;
}

.profilecontainer p {
  font-family: "Poppins", sans-serif;
  color: #555;
  font-size: 1.1em;
  line-height: 1.6;
}

.company-logo {
  margin-left: 10%;
  margin-top: 10%;
  width: 70%;
}

/* Achievement section styles */
.achievementcontainer {
  background-color: #f9f9f9;
  padding: 50px 0;
  animation: fadeIn 2s ease-in-out;
}

.achievementcontainer h2 {
  font-family: "Kanit", sans-serif;
  color: #333;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.achievement-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1.5s ease-in-out;
}

.achievement-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.achievement-box img {
  width: 50px;
  height: 50px;
}

.floating-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-box .row img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 10px;
}

@media (max-width: 768px) {
  .navbar-nav {
    margin-left: -5%;
    text-align: center;
  }

  .company-logo {
    margin-left: 0%;
  }

  .headercontainer h1 {
    font-size: 2.5em;
  }
  .headercontainer h5 {
    font-size: 1.2em;
  }
  .profilecontainer h2 {
    font-size: 2em;
  }
  .profilecontainer h4 {
    font-size: 1.5em;
  }
  .profilecontainer p {
    font-size: 1em;
  }
}

/* Fleet section styles */
.fleetcontainer {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px 0;
  animation: fadeIn 2s ease-in-out;
}

.fleetcontainer h2 {
  font-family: "Kanit", sans-serif;
  color: #333;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.fleetcontainer h4 {
  font-family: "Kanit", sans-serif;
  color: #ffb200;
  font-size: 1.5em;
}

.fleet-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1.5s ease-in-out;
}

.fleet-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.fleet-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Contact section styles */
.contactcontainer {
  background-color: #f9f9f9;
  padding: 50px 0;
  animation: fadeIn 2s ease-in-out;
}

.contactcontainer h2 {
  font-family: "Kanit", sans-serif;
  color: #333;
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
}

.contactcontainer .row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactcontainer p {
  font-family: "Poppins", sans-serif;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 5%;
}

.contactcontainer i {
  color: #ffb200;
  margin-right: 10px;
}

.contact-info {
  margin-left: 7%;
}

.maps {
  margin-top: -3.5%;
}

footer {
  background-color: #ffb200;
}

.footercontainer {
  font-size: 90%;
}

.footerpt {
  font-weight: bold;
}

/* Keyframes for animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0%,
  20%,
  40%,
  60%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
