body{font-family:Arial,sans-serif} 
.hero {
    height:100vh;
    background: linear-gradient(rgba(8,22,45,.7), rgba(8,22,45,.7)),
    url('Vehicle_Fire_Suppression.jpg') center/cover
    
}

.hero {
    height 100vh
    position: relative;
    overflow: hidden;
}
    /*contenedor que ocupa todo el tamano del hero*/
.carrusel-contenedor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}    


/*Estilo para cada imagen del carrusel*/

.carrusel-item {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* hace el mismo efecto que el center/cover */
    opacity: 0;
    transition: opacity 1s easy-in-out; /* transcicion suave de desvanecimiento */
    
}
    
    /*Clase que activara JavaScript para mostrar la imagen*/
.carrusel-item-activa {
    opacity: 1;
}
     /*Mantiene el gradiente oscuro (rgba) que tenias originalmente en tu CSS */
     
     
    
    
  /* Contenedor principal en fila horizontal */
  .contenedor-cartas {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 40px;
  }

  /* Estilo del bot¨®n / tarjeta */
  .carta-boton {
    background-color: #ffffff;
    color: #333333;
    padding:  30px 20px;
    width: auto;
    height: auto;
    text-align: center;
    text-decoration: none;
    border-style: outset;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: Arial, sans-serif;
    font-weight: normal;
    display: inline-block;
  }

  /* Efecto al pasar el mouse y sobresalir */
  .carta-boton:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
  }
  
.btn-cotizar {
  display: inline-block;
  background-color: #ffcc33;
  color: black;    
  margin: 40px;
  padding: 9px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: normal;
  font-family: Arial, sans-serif; /* Cambia el tipo de letra */
  font-size: 20px;                /* Hace la letra m¨¢s grande */    
}
.btn-cotizar:hover {
    background-color: red;}
    

