@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #303030;
}
::-webkit-scrollbar-thumb {
  background: #00695c;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #00796b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  background-color: #e6f4ea;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #d1e7dd;
  z-index: 1000;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  height: 4rem;
  margin: 0 auto;
  padding: 0 20px;
}

.logo a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #004d40;
  text-decoration: none;
  display: flex;
}

.nav_list {
  display: flex;
  list-style-type: none;
}

.nav_item {
  margin: 0 15px;
}

.nav_link {
  font-weight: 500;
  color: #00695c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav_link:hover {
  color: #004d40;
}

.toggle_menu,
.close_menu {
  display: none;
}
.logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: #004d40;
}

.nav_link:hover {
  font-weight: 500;
  color: #00796b;
}

.dropdown_link {
  display: flex;
  align-items: center;
}

.dropdown_icon {
  font-size: 1rem;
}

.megamenu {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #d1e7dd;
  display: flex;
  justify-content: center;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 23px 23px -21px rgba(0, 0, 0, 0.25);
  z-index: 90;
  visibility: hidden;
  opacity: 0;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem;
}

.megamenu_item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.header_megamenu {
  font-weight: 600;
  color: #004d40;
  margin-bottom: 1rem;
}

.menu_icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  background-color: #b2dfdb;
  margin-right: 0.5rem;
}

.menu_icon i {
  line-height: 32px;
  font-size: 32px;
  color: #00796b;
}

.megamenu_link a {
  font-weight: 500;
  color: #004d40;
}

.megamenu_link a:hover {
  color: #00796b;
}

.megamenu_link p {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #004d40;
}

.dropdown:hover .megamenu {
  color: #00796b;
  visibility: visible;
  transition: all 0.3s ease;
  opacity: 1;
}

.nav_item:hover .dropdown_icon {
  transform: rotate(180deg);
  transition: all 0.3s ease;
}

.hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.brand-logo:nth-child(2) {
  transition-delay: 200ms;
}

.brand-logo:nth-child(3) {
  transition-delay: 400ms;
}

.brand-logo:nth-child(4) {
  transition-delay: 600ms;
}

.footer {
  background-color: #00695c;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .social-media a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-size: 20px;
}

.footer .social-media:hover {
  color: #ddd;
  transform: scale(0.9);
}

.footer .copyright {
  margin-top: 10px;
}

#scrollBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background: #00695c;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  border-radius: 12%;
  font-size: 18px;
  transition: transform 0.3s;
}

#scrollBtn:hover {
  background-color: #00796b;
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body {
  padding-top: 70px;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}

@media screen and (max-width: 992px) {
  .megamenu {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  .megamenu {
    flex-direction: column;
    position: static;
    box-shadow: none;
    border-radius: 0;
    height: 0;
    max-width: 350px;
    overflow: hidden;
  }
  .dropdown:hover .megamenu {
    height: 100%;
  }
  .nav_list {
    position: absolute;
    height: 100vh;
    width: 100%;
    left: -100%;
    max-width: 350px;
    top: 0;
    background-color: #b2dfdb;
    flex-direction: column;
    overflow-x: hidden;
    display: block;
    transition: 0.3s;
  }
  .toggle_menu,
  .close_menu {
    display: block;
  }
  .toggle_menu i :hover {
    color: #00695c;
  }
  .close_menu {
    margin: 1rem 1rem 1rem auto;
    background-color: #00796b;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    text-align: center;
  }
  .close_menu:hover {
    color: #00695c;
  }
  .close_menu i {
    line-height: 32px;
    color: #fff;
    font-size: 22px;
  }
  .show_menu {
    left: 0;
  }
}
