.joy-nav-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px; /* Padding for desktop */
  background-color: #edeef1;
  color: black;
  position: fixed;  /* Make the navbar fixed */
  top: 0;           /* Position it at the top */
  width: 100%;      /* Full width */
  z-index: 1000;    /* Ensure it stays above other content */
  
}


.joy-nav-navbar-logo {
  display: flex;
  align-items: center;
}

.joy-nav-navbar-logo img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.joy-nav-navbar-logo img:hover {
  transform: scale(1.1);
}

/* Links for Desktop */
.joy-nav-links {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.joy-nav-links a {
  color: black;
  text-decoration: none;
  font-weight:500;
  font-size: 18px;
  padding: 15px 20px;
}

/* Buttons for Desktop */
.joy-nav-buttons {
  display: flex;
  gap: 10px;
}

.joy-nav-button {
  padding: 15px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size:18px;
  background-color: #f98c07;
  color: black;
}

.joy-nav-call-us-mobile {
  display: none; /* Hidden by default */
}

/* Media Query for Mobile (600px and below) */
@media (max-width: 600px) {
  .joy-nav-navbar {
    padding: 10px; /* Compact padding for mobile */
  }

  /* Hide everything except the logo and mobile Call Us button */
  .joy-nav-links,
  .joy-nav-call-us-desktop,
  .joy-nav-download-brochure {
    display: none;
  }

  /* Show Mobile Call Us Button */
  .joy-nav-call-us-mobile {
    display: inline-block;
    background-color: #f98c07;
    border: none;
    padding: 15px 20px;
    border-radius: 15px;
    color: black;

    cursor: pointer;
  }

  /* Resize logo for mobile */
  .joy-nav-navbar-logo img {
    height: 70px;
  }
}

/* Media Query for Tablet (601px to 1250px) */
@media (min-width: 601px) and (max-width: 1250px) {
  .joy-nav-navbar {
    padding: 20px; /* Padding for tablet */
  }

  /* Show logo and Call Us desktop button, and Download Brochure */
  .joy-nav-navbar-logo {
    display: flex;
  }

  .joy-nav-call-us-desktop,
  .joy-nav-download-brochure {
    display: flex;
  }

  /* Hide mobile Call Us button */
  .joy-nav-call-us-mobile {
    display: none;
  }

  /* Hide navigation links */
  .joy-nav-links {
    display: none;
  }
}

/* Media Query for Desktop (1251px and above) */
@media (min-width: 1251px) {
  .joy-nav-navbar {
    padding: 20px 20px; /* Original padding for desktop */
  }

  /* Show all Desktop Elements */
  .joy-nav-links {
    display: flex;
  }

  .joy-nav-call-us-desktop {
    display: flex;
  }

  .joy-nav-download-brochure {
    display: flex;
  }

  /* Hide Mobile Call Us Button */
  .joy-nav-call-us-mobile {
    display: none; /* Hide mobile Call Us button */
  }
}
