* {
  font-family: "Jost";
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* NAVIGATION BAR */
header {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  height: 100%;
  position: relative;
}

.nav-hidden {
  transform: translateY(-100%);
}

.left {
  flex: 1;
  display: flex;
  align-items: center;
}

.middle {
  flex: 2;
  display: block;
  justify-content: center;
  align-items: center;
}

.middle ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 0;
  margin: 0 15px;
  justify-content: center;
}

.middle li {
  display: block;
  position: relative;
  width: fit-content;
}

.middle li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.2px;
  background: black;
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.middle li:hover::after {
  width: 100%;
}

.right {
  flex: none;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  align-items: center;
}

.en {
  margin-left: -8px;
}

.right a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  position: relative;
  width: fit-content;
  display: block;
  width: 55px;
}

.right a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.2px;
  background: black;
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.right a:hover::after {
  width: 100%;
}

.logo {
  width: auto;
  height: 60px;
  object-fit: contain;
}

/* Search Bar Styling */
.search-container {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 50px;
  width: 250px;
  transition: border-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.search-container #searchInput {
  width: 100%;
  padding: 2px 10px 2px 2px; /* right padding increased for button space */
  font-size: 16px;
  border: none;
  outline: none;
}

.search-button {
  background-color: #17689c;
  border: none;
  color: white;
  border-radius: 50%;
  width: 2.3rem;
  height: 2rem;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background-color: #12567e;
}

.search-container:hover {
  border-color: #12567e;
}

/* Autofill box */
.suggestions-box {
  position: absolute; /* Position the suggestions box relative to the search-container */
  top: 100%; /* Start the suggestions box just below the search input */
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  width: 100%; /* Same width as the search input */
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  border-radius: 20px;
  display: none;
  margin-top: 3px;
}

.suggestions-box div {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestions-box div:hover {
  background-color: #f0f0f0;
}

/* Links */
a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  color: black;
}

/* Language drop down menu*/
.language-selector {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.language-selector::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.2px;
  background: black;
  left: 0;
  bottom: -3px;
  transition: width 0.3s ease;
}

.language-selector:hover::after {
  width: 100%;
}

.selected-lang {
  padding-left: 0.5rem;
  font-size: 20px;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0px;
  background-color: white;
  border: 1px solid #cccccc;
  list-style-type: none;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 0px;
  padding-right: 0px;
  margin: 0;
  width: 90px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
  border-radius: 20px;
}

.language-menu li {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 12px;
  padding-right: 12px;
  cursor: pointer;
}

.language-menu li:hover {
  background-color: #f0f0f0;
}

.language-menu.show {
  display: block;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 30px;
}

.footer-links div {
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 5px;
}

.footer-links a {
  display: block;
  color: #000000;
  text-decoration: none;
  margin: 2px 0;
  position: relative;
  width: fit-content;
  font-size: 15px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1.2px;
  background: black;
  left: 0;
  bottom: -2px;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  width: 200px;
}

.footer-links button {
  background-color: #fff;
  color: #000;
  padding: 10px 20px;
  border: 2px solid #000;
  border-radius: 5px;
  font-weight: 450;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-links button:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 50px;
  position: relative;
}

.logo {
  flex: 0 0 auto;
  flex: 1;
}

footer .social-icons {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
}

footer .social-icons img {
  width: 30px;
  height: 30px;
}

.lan-container {
  flex: 1;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.lan {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.lan-container a {
  text-decoration: none;
  font-size: 18px;
  color: black;
}

#subscribe {
  font-weight: 600;
}

#subscribe-text {
  font-weight: 400;
  font-size: 15px;
  color: black;
  margin-top: 0;
  margin-bottom: 15px;
}

.subscribe-btn {
  font-size: 15px;
}

.icon {
  cursor: pointer;
  transition: all 0.3s;
}

.icon:hover {
  opacity: 0.5;
  transform: translateY(-3px);
}

#hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  width: 100%;
}

body {
  margin: 0;
  color: #000;
  background: #fff;
}

/* main part */
.part1 {
  width: 100%;
  height: 100%;
  position: relative;
}

.part1 video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.part1 p {
  position: absolute;
  text-align: left;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 25px;
  font-weight: 500;
}

.about-container1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  margin-left: 150px;
  margin-top: 40px;
  margin-right: 30px;
}

.about-img2 {
  width: 450px;
  height: 450px;
  object-fit: contain;
  border-radius: 5px;
}

.about-text2 {
  width: 450px;
  height: auto;
  padding: 10px;
  border-radius: 8px;
}

.about-text2 h1 {
  color: #17689c;
  font-weight: 500;
  font-size: 30px;
}

.about-text2 p {
  color: black;
  font-size: 18px;
}

.about-container2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.container2-title {
  position: absolute;
  top: -100px;
  color: #17689c;
  font-weight: 500;
  font-size: 30px;
  z-index: 1;
  text-align: center;
  margin-top: 50px;
}

.about-img3 {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.8;
}

.about-box {
  display: flex;
  justify-content: center;
  gap: 150px;
  flex-wrap: wrap;
  padding: 50px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.box-item {
  width: 150px;
  height: 180px;
  background-color: rgba(255, 255, 255, 0.806);
  text-align: center;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.box-item-img {
  width: 40%;
  height: 80px;
  object-fit: cover;
  border-radius: 20%;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.box-item h3 {
  font-size: 20px;
  font-weight: 450;
  margin: 10px 0 5px;
  color: black;
}

.about-container3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 100px;
  margin-left: 200px;
  margin-top: 40px;
  margin-right: 30px;
}

.about-img4 {
  width: 450px;
  height: 450px;
  object-fit: contain;
  border-radius: 5px;
}

.about-text3 {
  width: 450px;
  height: auto;
  padding: 10px;
  border-radius: 8px;
}

.about-text3 h1 {
  color: #17689c;
  font-weight: 500;
  font-size: 30px;
}

.about-text3 p {
  color: black;
  font-size: 17px;
}

.about-container4 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.container4-title {
  position: absolute;
  top: 70px;
  color: white;
  font-weight: 450;
  font-size: 25px;
  z-index: 1;
  text-align: center;
}
.about-img5 {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.8;
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  animation-name: fade;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .about-container1,
  .about-container3 {
    margin-left: 80px;
    margin-right: 30px;
    flex-direction: column;
    gap: 50px;
  }

  .about-text2,
  .about-text3 {
    width: 90%;
  }

  .about-box {
    gap: 80px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    padding: 15px;
  }
  .logo {
    text-align: center;
    margin-bottom: 5px;
    width: 100%;
  }
  .middle {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
  }
  .middle a {
    font-size: 18px;
    margin: 0 5px;
  }
  .right {
    width: 100%;
    justify-content: center;
    margin-top: 5px;
    gap: 10px;
  }
  .part1 img {
    height: 300px;
  }

  .part1 p {
    font-size: 20px;
    bottom: 10px;
    left: 10px;
  }

  .about-container1,
  .about-container3 {
    margin-left: 30px;
    margin-right: 30px;
    flex-direction: column;
    align-items: center;
  }

  .about-img2,
  .about-img4 {
    width: 60%;
    height: auto;
  }

  .about-text2,
  .about-text3 {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .container2-title {
    font-size: 24px;
    top: -25px;
  }
  .container4-title {
    font-size: 24px;
    top: 20px;
  }

  .about-box {
    gap: 50px;
    padding: 30px;
  }

  .box-item {
    width: 100px;
    height: auto;
    padding: 15px 10px;
  }

  .box-item h3 {
    font-size: 16px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 15px;
  }

  .footer-links div:last-child {
    grid-column: span 2;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 40px auto 0;
  }

  .footer-bottom .logo {
    text-align: center;
    margin: 0 0 10px;
    flex: none;
  }
}

@media (max-width: 480px) {
  .box-item {
    width: 100px;
    padding: 10px;
  }

  .box-item-img {
    width: 60%;
    height: auto;
  }

  .container2-title {
    font-size: 24px;
    top: -25px;
  }
  .container4-title {
    font-size: 20px;
    top: 10px;
  }

  .about-text2 p,
  .about-text3 p {
    font-size: 16px;
  }

  .about-text2 h1,
  .about-text3 h1 {
    font-size: 24px;
  }

  .about-img3 {
    width: 100%;
    height: 400px;
  }
}
