.mobile-header {
  display: none;
}
@media (max-width: 500px) {
  .main-header {
    display: none;
  }
  .mobile-header {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    width: 100%;
    background-color: #f8f8f8;
    z-index: 1100;
  }

  .header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
  }
  .logo-mobile {
    width: 100px;
    height: 60px;
  }
  .logo-mobile img {
    width: 80px;
    height: 50px;
  }
  .header-icons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    color: #1a3a63;
    font-size: 22px;
  }

  .header-icons svg {
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    color: #1a3a63;
  }

  .logo img {
    height: 40px;
  }

  .logo-text {
    font-weight: bold;
    font-size: 20px;
    margin-right: 5px;
  }

  .search-container {
    background-color: #ffffff;

    border-top: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .search-box {
    position: relative;
    width: 100%;
  }

  .search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1.5px solid #1a3a63;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    direction: rtl;
  }

  .search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a3a63;
    font-size: 18px;
  }

  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1200;
    border-top: 1px solid #ddd;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .mobile-nav.active {
    display: block;
    opacity: 1;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav ul li {
    padding: 15px 25px;
    border-bottom: 1px solid #f1f1f1;
  }

  .mobile-nav ul li a {
    text-decoration: none;
    color: #333;
    display: block;
  }
}
.main-header {
  background-color: #e6e6e6;
  padding: 12px 0;
  direction: rtl;
  font-family: "Tahoma", sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}
.icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  height: 70px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 40px;
  width: 80px;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #2b4360;
  font-size: 14px;
  font-weight: bold;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-wrapper {
  background-color: #ffffff;
  border-radius: 25px;
  padding: 6px 15px;
  display: flex;
  align-items: center;
  width: 280px;
}

.search-wrapper input {
  border: none;
  outline: none;
  width: 100%;
  margin-right: 8px;
  background: transparent;
}

.search-wrapper i {
  color: #2b4360;
  font-size: 14px;
}

.user-actions {
  display: flex;
  gap: 15px;
}

.user-actions a {
  color: #2b4360;
  font-size: 18px;
  text-decoration: none;
}

.nav-menu ul li a:hover {
  color: #000;
}
