  /* Sticky Header with Toggle Menu */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ✅ Fixed logo styles */
#header-logo {
  max-height: 80px;   /* Header ke andar fit rahe */
  width: auto;        /* Aspect ratio safe */
  transition: transform 0.3s ease;
  object-fit: contain; /* Crop na ho */
}

#header-logo:hover {
  transform: scale(1.05);
}

.toggle {
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  display: none;
  user-select: none;
}

.headmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.headmenu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.headmenu a:hover {
  color: #0077cc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .toggle {
    display: block;
  }

  .headmenu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    padding: 3rem 1.5rem;
    z-index: 999;
    display: flex;
    align-items: flex-start;
  }

  .headmenu.active {
    right: 0;
  }

  .headmenu ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .headmenu a {
    font-size: 1.2rem;
  }

  /* ✅ Mobile logo size */
  #header-logo {
    max-height: 60px;
  }
}

/* Small devices (phones) */
@media (max-width: 480px) {
  .header {
    padding: 1rem 3%;
  }

  .headmenu {
    width: 260px;
  }

  /* ✅ Small phones logo */
  #header-logo {
    max-height: 50px;
  }
}
