/* General header styling */

html {
  scroll-behavior: smooth;
}


@font-face {
  font-family: 'SourGummy';
  src: url('../fonts/NunitoSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.header {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  background-color: #fff0f5;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo img{
  height: 50px;
  margin-left: 50px;
}

.nav-links {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;  /* <-- important */
  gap: 15px;            /* unified spacing */
}

.nav-button,
.dropdown {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
  text-decoration: none;
  color: black;
  transition: background-color 0.3s ease;
}

.contact-us-btn{
  margin-left: 20px;
  text-decoration: none;
  color: #fff0f5;
  background-color: black;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  padding: 8px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}


.nav-button {
  background-color: #fff0f5;
  border: none;
  color: black;
  font-family: 'SourGummy';
}


.nav-button:hover {
  color: #ff9900;
}

.nav-button:hover {
  color: #ff9900;
}

.dropdown-item:hover {
  color: #ff9900;
}


/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  min-width: 180px;
  z-index: 999;
}

/* Dropdown Items */
.dropdown-item {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.dropdown-item:hover {
  background-color: #f8f8f8;
  color: #ff9900;
}

/* Show on Hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Optional: style the ▾ icon */
.dropdown > .nav-button {
  cursor: pointer;
}


.contact-us-btn:hover {
  color: #ff9900;
}

/* Mobile menu icon */
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  width: 25px;
  height: 22px;
  margin-right: 10px;
  cursor: pointer;
}

.bar {
  height: 4px;
  width: 100%;  
  background-color: black ;
  border-radius: 5px;
}



/* Responsive design: Mobile-first */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    margin-top: 3vh;
    padding: 2vh;
    top: 60px;
    right: 0px;
    background-color: #fff0f5;
    width: auto;
    border-radius: 5px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-button {
    margin-left: 0;
    padding: 10px 15px;
    width: 100%;
    text-align: center;
    background-color: #fff0f5;
    border: none;
  }

  /* Dropdown Toggle True */
  .dropdown-toggle {
    display: none;
  }

  .contact-us-btn{
    margin-right: 0px;
    margin-left: 0px;
  }
  
  .menu-icon {
    display: flex;
  }

  .logo img{
    height: 50px;
    margin-left: 0px;
  }
}

/* For tablets and smaller screens (less than 768px) */
@media (max-width: 480px) {
  .nav-button {
    font-size: 14px;
  }

   .contact-us-btn{
    margin-right: 0px;
    margin-left: 0px;
  }

    /* Dropdown Toggle True */
    .dropdown-toggle {
      display: none;
    }

  .logo img {
    height: 50px;
    margin-left: 0px;
  }
}
