#sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  background: var(--navbackground);
  height: 80px;
  padding: 0.5rem;
  user-select: none;
}

.logo {
  width: 4.25rem;
  height: 4.25rem;
  display: block;
}

.logoClass {
  width: 4rem;
  height: 4rem;
  display: block;
  margin-right: 1rem;
}

.brand-name {
  font-family: sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 35px;
  color: var(--white);
  display: none;
}

.mywidth {
  width: 50% !important;
}

.offcanvas-title {
  font-family: sans-serif;
}

.login-button {
  background: linear-gradient(140.14deg, #ec540e 15.05%, #d6361f 114.99%)
      padding-box,
    linear-gradient(142.51deg, #ff9465 8.65%, #af1905 88.82%) border-box;
  border-radius: 25px;
  border: 2px solid transparent;
  padding: 7px 15px;
  line-height: 20px;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: sans-serif;
}

.login-button:hover {
  color: #fff;
  opacity: 90%;
}

/* Optional: Add focus styles for accessibility */
.login-button:focus {
  color: #ddd;
  outline: none;
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
  color: var(--white);
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.white-toggler-icon {
  color: white;
}

.nav-link {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  padding-left: 0.75rem;
}

.nav-link:hover,
.nav-link:active {
  color: #ffffff;
}

.dropdown-item {
  text-wrap: wrap;
}

.dropdown-item:hover {
  color: var(--white);
  background-color: var(--hover);
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* remove the gap so it doesn't close */
}

@media screen and (min-width: 991px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .dropdown .dropdown-menu {
    display: none;
  }
}

@media (min-width: 0px) {
  .dropdown:hover .dropdown-toggle::after {
    border-bottom: 0.3em solid;
    border-top: 0;
  }
}

.nav-icon {
  margin-right: 0.5rem;
}

.hero-section {
  background: url(hero-image.jpg) no-repeat center;
  background-size: cover;
  width: 100%;
  height: 100vh;
}

.hero-section::before {
  background-color: rgba(0, 0, 0, 0.2);
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.canvas-color {
  color: #fff;
  background: var(--navbackground);
}

img {
  -webkit-user-drag: none;
}

.reduce-left-padding {
  padding-left: 0px;
}

@media (min-width: 576px) and (max-width: 991px) {
  .navbar {
    background-color: var(--navbackground);
    height: 80px;
  }
  .logo {
    display: none;
  }
  .brand-name {
    display: inline-block;
    font-size: 35px;
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}

@media (max-width: 991px) {
  .navbar {
    background-color: var(--navbackground);
    height: 70px;
    padding: 0.25rem;
  }
  .logo {
    width: 3.2rem;
    height: 3.2rem;
    display: none;
  }
  .nav-link {
    color: var(--links-text-offcanvas);
    font-size: large;
  }
  .nav-link:hover {
    color: var(--white);
    background: var(--nav-bg-active);
  }
  .nav-link:active {
    color: #ddd !important;
    background: var(--nav-bg-active);
  }
  .nav-link:focus {
    background: var(--nav-bg-active);
  }
  .first-link {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .last-link {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--white);
    visibility: hidden;
    transition: 0.1s ease-in-out;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }
  .remove-border {
    border: none !important;
  }
}

@media (max-width: 1400px) {
  .nav-icon {
    display: none;
  }
}

@media (max-width: 575px) {
  .mywidth {
    width: 75% !important;
  }
  .navbar {
    height: 60px;
    position: fixed;
    width: 100%;
  }
  .logoClass {
    display: none;
  }

}

/* login modal */
.modal-header {
  background: var(--nav-bg-active);
}

.form-label {
  font-weight: 500;
}

/* Style the input fields */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 5px;
  margin-bottom: 15px;
  border: 1px solid var(--light-black);
  border-radius: 5px;
}

/* Style the placeholders for email and password inputs */
input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: var(--placeholder); /* Change placeholder color to blue */
}

/* Password icon*/
.password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  border-radius: 10px;
}

.password-toggle-icon i {
  font-size: 18px;
  line-height: 1;
  color: #333;
  transition: color 0.3s ease-in-out;
  margin-bottom: 20px;
}

.password-toggle-icon i:hover {
  color: #000;
}
