.hero {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: #042537 !important;
  padding: 15px 25px !important;
  border-radius: 15px !important;
  font-weight: bold !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

.btn-primary:hover {
  background-color: #093147 !important;
}

.show-menu {
  display: flex !important;
}

.dropdown-menu {
  min-width: 500px;
  padding: 15px;
  border-radius: 15px !important;
}

.card {
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
}

.btn-success {
  font-size: 24px;
}

.floating-navbar {
  background-color: rgba(9, 49, 71, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  padding: 10px 20px;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.floating-navbar.scrolled {
  background-color: rgba(9, 49, 71, 1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  height: 35px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: bold;
  margin: 0 10px;
  font-size: 18px;
}

.navbar-nav .nav-link:hover {
  text-decoration: underline;
}

.navbar-nav .btn-light {
  color: #093147 !important;
  font-weight: bold;
  border-radius: 20px;
  padding: 8px 20px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 43, 63, 0.473);
  display: none;
  z-index: 998;
}

.show-overlay {
  display: block !important;
}

.dropdown-menu.show {
  display: block !important;
}

.contacto-servicio .btn-warning {
  background-color: #ffb400;
  color: white;
  padding: 12px 25px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.contacto-servicio .btn-warning:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

ul.list-unstyled a.active {
  color: #093147 !important;
  border-left: 4px solid #093147;
  padding-left: 8px;
  background-color: #f5f5f5;
  text-decoration: none !important;
}

#privacidad, #terminos {
  transition: opacity 0.5s ease-in-out;
}

ul.list-unstyled a {
  text-decoration: none !important;
}

ul.list-unstyled a:hover {
  text-decoration: none !important;
  background-color: #f0f0f0;
}

.volver-inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.volver-inicio .btn {
  padding: 12px 30px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 16px;
  background-color: #042537;
  color: white;
  border: none;
  transition: background-color 0.3s ease-in-out;
}

.volver-inicio .btn:hover {
  background-color: #093147;
}

.btn-wsp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #F7B71E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.btn-wsp:hover {
  transform: scale(1.1);
}

.btn-wsp img {
  width: 35px;
  height: auto;
}

.py-4 {
  box-shadow: inset 0px 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .hero {
    height: 40vh !important;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .btn-primary {
    font-size: 12px;
  }

  .floating-navbar {
    padding: 5px 20px;
    margin-top: 0.2rem;
  }

  .navbar-nav .nav-link {
    font-size: 14px !important;
  }

  .dropdown-menu {
    min-width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }

  .dropdown-item {
    font-size: 14px !important;
    white-space: normal !important;
    line-height: 1.2;
  }

  .navbar-nav .btn-light {
    color: #093147 !important;
    font-weight: bold;
    border-radius: 5px;
    padding: 9px 8px;
    font-size: 14px;
  }

  .navbar-toggler-icon {
    width: 15px;
  }

  .navbar-brand img {
    height: 25px;
  }

  .fs-5 {
    font-size: 12px !important;
  }

  .particles {
    width: 100%;
    height: 700px !important;
  }

  p {
    font-size: 14px !important;
  }
}
