header {
  background-color: teal;
  color: white;
  padding: 15px 20px;
  position: relative;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.header-links {
  display: flex;
  gap: 15px;
}

.header-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.header-links a:hover {
  background-color: #006666;
}

.header-icons {
  display: flex;
  gap: 10px;
}

.header-icons .icon {
  color: white;
  font-size: 22px;
  text-decoration: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    left: 15px; /* الثلاث نقاط في الجهة اليسار */
    top: 15px;
    z-index: 1000; /* يخلي الزر فوق أي عناصر */
  }

  .header-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: teal;
    margin-top: 50px;
    text-align: left;
    padding: 10px;
  }

  .header-links.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }
}

/* Animation */
@keyframes slideDown {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}
