@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Outfit:wght@100..900&display=swap");

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

a {
  text-decoration: none;
}

.border-btm {
  border-bottom: 1px solid #ccc;
}

.main-navbar {
  /* margin: 10px 0 0; */
  background-color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

header {
  position: relative;
}

/* top nav  */

.top-navbar {
  background-color: #fff;
}

.contact {
  padding: 5px 0;
  display: flex;
  align-items: start;
}
.contact img {
  margin-top: 3px;
}
.contact p,
.contact p a {
  font-size: 20px;
  margin: 0;
  color: #000;
}
.contact span,
.contact span a {
  font-size: 20px;
  color: #6b6b6b;
}

/* bottom nav  */

.logo img {
  width: 225px;
}

@media (max-width: 992px) {
  .logo img {
    width: 120px;
  }
}

.desk-nav {
  background-color: #1b57b0;
  /* padding: 10px 0; */
}

.appoinment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  animation: fadeIn 2s;
  animation: name duration timing-function delay iteration-count direction fill-mode;

  a {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 32px;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 0.05em;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.4s;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.main__menu {
  display: flex;
  justify-content: end;
}

.main__menu li {
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  border-right: 1px solid #5074ab;
}

.main__menu li:last-child {
  border-right: none;
}

.main__menu li a {
  color: #fff;
  padding: 0 20px;
  display: block;
  line-height: 70px;
  /* 
  &:hover {
    color: #76ba3a;
  } */
}

.drop {
  position: relative;
}

.dropdown {
  background-color: #05a719;
  border-top: 3px solid #1b57b0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  transition-delay: 0.5s;
}

.main__menu li:hover .dropdown {
  opacity: 1;
  /* top: 100%; */
  visibility: visible;
  transition-delay: 0s;
}

.dropdown li {
  line-height: 25px;

  position: relative;
}

.dropdown li {
  padding: 0;
  a {
    font-size: 15px;
    color: #fff;
    display: block;
    font-weight: 400;
    padding: 8px 8px;
    letter-spacing: 0.6px;
    line-height: 25px;
    transition: all 0.3s;
    &:hover {
      /* color: #fff; */
      background-color: #0e51b6;
    }
  }
}

/* mobile navbar  */

.side-menu-btn {
  height: 50px;
  width: 50px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bs-primary-text-emphasis);
  border-radius: 10px;
  cursor: pointer;
}

.close-menu-btn {
  height: 50px;
  width: 50px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bs-primary-text-emphasis);
  border-radius: 100px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile__navber {
  background-color: #fff;
}

.mobile-navbar {
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 13rem;
  transform: translateX(-100%);
  z-index: 200;
  width: 100%;
  height: 80vh;
  overflow: auto;
  padding-block: 2.5rem 4rem;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 2px 4px 0 #ccc;
  transition: transform 0.4s, opacity 0.3s;
}

.mobile-navbar::-webkit-scrollbar {
  width: 0.3rem;
  height: scroll;
}

.mobile-navbar::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary-text-emphasis);
  border-radius: 100px;
}

.show-menu {
  opacity: 1;
  /* top: 13rem; */
  transform: translateX(0);
  pointer-events: initial;
}

.main-menu li {
  line-height: 35px;
  font-weight: 500;
  font-size: 20px;
  padding: 10px 8px 10px;
  color: var(--bs-primary-text-emphasis);
  cursor: pointer;
}

.main-menu li a {
  color: var(--bs-primary-text-emphasis);
  display: block;

  &:hover {
    color: #afe67f;
  }
}

.dropdown__container {
  background-color: #ffffff;
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.mobile-dropdown {
  width: 100%;
  padding: 0 15px;
}

.mobile-dropdown li {
  line-height: 25px;
  padding: 12px 12px 10px;
  font-size: 18px;
  position: relative;
}

.mobile-dropdown li a {
  /* font-size: 16px; */
  color: var(--bs-primary-text-emphasis);
  font-weight: 500;
  letter-spacing: 0.6px;
}

.mobile-submenu {
  padding: 0 15px;
}

.sub__dropdown {
  background-color: #fff;
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
