

.header {
  padding: 0px 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header a {
  display: block;
  color: black;
  text-decoration: none;
}
.header ul {
  list-style: none;
}
/* ============= header info ============== */
.header-info {
  background-color: var(--bg-color);
}

.header-info-content{
  padding: 15px 30px;
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  margin-inline: auto;

}
.header-info .contact {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-info .contact a {
  color: white;
  font-size: 14px;
}
.header-info .contact a i {
  color: var(--bg-gold);
}
.header-info .buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-info .buttons a {
  background-color: var(--bg-gold);
  padding: 10px 20px;
  font-size: 14px;
}
/* ============= header desktop ============== */

.header-desktop {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 30px;
}
.header-desktop .desktop__logo {
  width: 140px;
}
.header-desktop .desktop__logo img {
  width: 100%;
}
.header-desktop .desktop__links {
  display: flex;
}

.header-desktop .desktop__links > li {
  position: relative;
  cursor: pointer;
}
.header-desktop .desktop__links .link {
  padding:25px 10px;
  font-size: 16px;

}

.header-desktop .desktop__links > li > ul {
  background-color: var(--bg-color);
  position: absolute;
  top: 100%;
  left: 0;
  width: 180px;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.5s ease;
  display: grid;
  z-index: 99;
}
.header-desktop .desktop__links li:hover .sublinks {
  height: auto;
  opacity: 1;
  visibility: visible;
}

.header-desktop .desktop__links > li > ul > li a {
  color: white;
  padding: 10px;
  border-bottom: 1px solid #6969696c;
  font-size: 14px;
}
.header-desktop .desktop__links > li > ul > li a:hover {
  color: var(--bg-gold);
  padding: 10px;
  background-color: #133663;
  border-bottom: 1px solid #6969696c;
}

/* ============ mobile header ==================== */

.header-mobile {
  display: none;
  padding: 10px 15px;
  position: relative;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}

.header-mobile .mobile__logo {
  width: 120px;
}

.header-mobile .mobile__logo img {
  width: 100%;
}
.header-mobile .open {
  width: 28px;
  cursor: pointer;
}
.header-mobile .open i {
  font-size: 30px;
}

.header-mobile .mobile__aside {
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  position: absolute;
  background-color: white;
  transform: translateY(calc(-100% - 65px));
  width: 100%;
  top: 65px;
  left: 0;
  transition: 0.5s;
  z-index: 999;
}
.header-mobile .mobile__aside.show {
  transform: translateY(0%);
}

.header-mobile .mobile__aside .close {
  position: fixed;
  right: 15px;
  top: 15px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  /* background-color: #fafafa; */
  display: flex;
  justify-content: center;
  align-self: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 9999;
}
.header-mobile .mobile__aside .close i {
  font-size: 27px;
}

.header-mobile .mobile__aside .item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.header-mobile .mobile__aside .item > .link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}
.header-mobile .mobile__aside .item > .link > i {
  font-size: 22px;
  padding-left: 15px;
  cursor: pointer;
}
.header-mobile .mobile__aside .item > .dropdown {
  background-color: #fafafa;
  height: 0;
}
.header-mobile .mobile__aside .item > .dropdown.show {
  height: auto;
}
.header-mobile .mobile__aside .item > .dropdown > a {
  padding-left: 40px;
  padding-block: 10px;
  font-size: 14px;
}

/* =============== media screen ================ */

@media screen and (max-width: 768px) {
  .header-info {
    display: none;
  }
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: flex;
  }
}