/* --------The start header-----*/

.navbar {
  width: 100%;
  height: 60px;
  display: flex;
  padding: 0 3rem;
  align-items: center;
  z-index: 999;
}

#navbar-top {
  justify-content: flex-end;
}

#navbar-top .nav-items {
  max-width: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

#navbar-top .nav-items .nav-cta {
  display: flex;
  gap: 1rem;
}

#navbar-top .nav-cta .nav-item {
  display: flex;
  gap: 0.5rem;
}

#navbar-top .nav-cta .nav-item * {
  white-space: nowrap;
}

/* ///////////////////// */
#navbar-bottom {
  position: relative;
  padding: 0 3rem;
  padding-left: 6rem;
  gap: 1rem;
  background: var(--color-primary);
}

#navbar-bottom * {
  color: white;
}

#navbar-bottom .logo {
  transform: translateY(-30px);
  width: 6rem;
  margin-right: 2rem;
  aspect-ratio: 1/1;
}

#navbar-bottom .nav-items {
  display: flex;
  gap: 1rem;
}

#navbar-bottom .nav-items .nav-item {
  padding: 0.5rem;
  font-size: 1.15rem;
}

#navbar-bottom .nav-items .nav-item a {
  transition: 0.2s;
}

#navbar-bottom .nav-items .nav-item a:hover {
  color: var(--color-btn-primary);
}

.drop-menu {
  position: relative;
}

#navbar-bottom .nav-items .drop-menu > div > a:hover {
  color: white;
  cursor: default;
}

.drop-menu div {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.drop-menu i {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.drop-menu > ul {
  height: 0;
  top: 100%;
  left: 0;
  position: absolute;
  overflow: hidden;
  transition: 0.5s;
  width: 126px;
}

@media screen and (min-width: 640px) {
  .drop-menu:hover > ul {
    height: 200px;
  }
}

.drop-menu div a:hover,
.drop-menu div a:hover + i {
  cursor: pointer !important;
  color: #e0ac1c !important;
}

.dropdown {
  background-color: rgba(44, 129, 166, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0.5rem;
}

.dropdown li {
  border-bottom: 1px solid white;
  /* padding: 0.5rem 3rem 0.5rem 0.5rem; */
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
}

.dropdown li:nth-child(3) {
  border-bottom: 0px solid white;
}

#navbar-bottom #search {
  margin-left: auto;
  cursor: pointer;
}

#navbar-bottom #search:hover i {
  color: #e0ac1c;
}

dialog {
  border: none;
  position: fixed;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
dialog .heading {
  color: White;
  background-color: #e0ac1c;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
}

dialog .heading p {
  font-size: 1.35rem;
}

dialog .heading button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}

dialog form {
  background-color: white;
  padding: 1.5rem;
  display: flex;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

dialog form input[type='text'] {
  line-height: 1.7;
  border-width: 1px;
  padding: 0.75rem;
  color: black !important;
}

dialog form button {
  padding: 0.6rem 1.5rem;
  width: fit-content;
  background-color: #2c81a6;
  border: none;
  border-radius: 0.2rem;
}

dialog form button:hover {
  background-color: #4096bb;
  cursor: pointer;
}

#navbar-bottom i {
  font-size: 1.1rem;
}

#navbar-bottom #bars {
  display: none;
}

/* ======== MEDIA QUERY (MEDIUM DEVICES) ======== */

@media screen and (max-width: 1024px) {
  .navbar {
    padding: 1rem 2rem;
  }
  #navbar-top .nav-items {
    gap: 2rem;
  }
  #navbar-top .nav-items .nav-cta {
    flex-direction: column;
    gap: 0.5rem;
  }

  #navbar-bottom {
    padding-left: 2rem;
    gap: 1rem;
  }

  #navbar-bottom .logo {
    margin-right: 1rem;
  }
  #navbar-bottom .nav-items {
    display: flex;
    gap: 1rem;
  }
}

/* ======== MEDIA QUERY (SMALL DEVICES) ======== */

@media screen and (max-width: 640px) {
  #navbar-top {
    display: none;
  }

  #navbar-bottom {
    position: sticky;
    top: 0;
    height: 75px;
    padding: 0 1.5rem;
  }

  #navbar-bottom .logo {
    width: 50px;
    height: auto;
    transform: translateX(0);
  }

  #navbar-bottom #bars {
    display: block;
    margin-left: 0.5rem;
  }

  #navbar-bottom i {
    font-size: 1.25rem;
  }

  #navbar-bottom .mobile {
    width: 0;
    height: calc(100vh - 75px);
    background-color: var(--color-primary);
    position: absolute;
    top: 100%;
    left: 0;
    overflow: hidden;
    transition: 0.5s;
    z-index: 4;
  }

  #navbar-bottom .mobile.open {
    width: 85%;
  }

  #navbar-bottom .mobile .nav-items {
    margin-top: 2rem;
    flex-direction: column;
    gap: 0;
  }

  .nav-items .nav-item {
    border-bottom: 1px solid white;
  }

  .drop-menu ul {
    height: 0;
    width: 100%;
    left: 0;
  }

  .drop-menu ul.open {
    height: 200px;
  }

  .drop-menu div a:hover,
  .drop-menu div a:hover + i {
    cursor: pointer !important;
    color: white !important;
  }

  .drop-menu ul .dropdown {
    padding: 0;
    width: 100%;
  }

  .drop-menu ul .dropdown li {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .drop-menu ul .dropdown a {
    padding: 0.5rem;
  }

  .nav-item a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.5rem 5rem 0.5rem 1rem;
  }

  dialog {
    width: 90%;
  }
}
/* --------The end header-----*/

.gg {
  width: 100%;
  padding: 0%;
}

/* --------The start footer-----*/

footer {
  bottom: 0;
}

@media (max-height: 800px) {
  footer {
    position: static;
  }
}

.footer-distributed {
  background-color: #2c81a6;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 50px 50px 60px 50px;
  /* margin-top: 80px; */
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 30%;
}

.footer-distributed h3 {
  color: #ffffff;

  margin: 0;
}

.footer-distributed h3 span {
  color: #e0ac1c;
}

/* Footer links */

.footer-distributed .footer-links {
  color: #ffffff;
  margin: 20px 0 12px;
}

.footer-distributed .footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-company-name {
  color: #c0c0c0;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 35%;
}

.footer-distributed .footer-center i {
  background-color: #4096bb;
  color: #ffffff;
  font-size: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  margin: 8px 15px;
  vertical-align: middle;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  margin: 0;
  font-size: 14px !important;
}

.footer-distributed .footer-center p span {
  display: block;
  font-weight: bold;
  font-size: 18px !important;
  line-height: 2.5;
  color: #e0ac1c;
  margin-left: 1rem;
  margin-top: -16px;
}

.footer-distributed .footer-center p a {
  color: #ffffff;
  text-decoration: none;
}

/* Footer Right */

.footer-distributed .footer-right {
  width: 30%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #c0c0c0;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer-distributed .footer-company-about span {
  display: block;
  color: #e0ac1c;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-distributed .footer-icons {
  margin-top: 25px;
}
.footer-distributed .footer-icons i {
  color: #ffff;
  width: 100%;
  aspect-ratio: 1/1;
}
.footer-distributed .footer-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color: #4096bb;
  border-radius: 50%;
  font-size: 20px;

  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}

.footer-distributed .footer-icons a:hover {
  background-color: #e0ac1c;
}

.footer-links a:hover {
  color: #e0ac1c;
}

@media (max-width: 880px) {
  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right {
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }
  .footer-distributed .footer-center i {
    margin-left: 0;
  }
}
/* --------The end footer-----*/
