
  html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
  }

  section[id] {
    scroll-margin-top: 70px;
  }
.color-body{
  background: #f8f9fa;
}
/* Hero section background */
    #hero {
      position: relative;
      color: white;
      height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
      overflow: hidden;
    }
    
    /* Pseudoelemento para la imagen difuminada */
    #hero::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: url('../images/taxi-portada.jpg') no-repeat center center/cover;
      filter: blur(5px);
      z-index: 1;
      transform: scale(1.05); /* para evitar bordes feos al difuminar */
    }
    
    /* Contenido dentro de #hero */
    #hero > * {
      position: relative;
      z-index: 2; /* que quede encima de la imagen */
    }

    #hero h1 {
      font-weight: 700;
      font-size: 3rem;
    }
    #hero p {
      font-size: 1.3rem;
    }
    .section-title {
      font-weight: 700;
      margin-bottom: 1.5rem;
      text-align: center;
    }
    .card-icon {
      font-size: 3rem;
      color: #0d6efd;
      margin-bottom: 1rem;
    }
    footer {
      color: white;
      padding: 1rem 0;
    }
    /* Overlay for form */
    #reserva {
      background: #f8f9fa;
      padding-bottom: 4rem;
    }
    /* Form card shadow */
    .form-card {
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      border-radius: 10px;
      padding: 2rem;
      background: white;
    }
    /* Navbar brand styling */
    .navbar-brand {
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 1px;
    }

    .testimonio-footer {
      font-weight: bold;
      font-size: 0.95rem;
      text-align: right;
    }

/* Contenedor flotante */
#whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1060; /* más alto que los toasts */
}

/* Imagen del icono */
#whatsapp-chat img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.2s;
}

/* Efecto hover */
#whatsapp-chat img:hover {
  transform: scale(1.15);
}

/* Texto tipo chatbox */
#whatsapp-text {
  position: absolute;
  right: 70px;
  bottom: 10px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s, transform 0.3s;
}

/* Mostrar texto al pasar el ratón */
#whatsapp-chat:hover #whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

/* Ocultar texto en móvil */
@media (max-width: 576px) {
  #whatsapp-text { display: none; }
  #whatsapp-chat img {
    width: 50px;
    height: 50px;
  }
}


    
