*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}


.unidades-text h1{
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-family: "Roboto","sans-serif";
  border-bottom: 3px solid #294e8c;
  padding-bottom: 5px;
}

.unidades-text{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
  url('/assets/imgs/camionaso2.jpg');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  height: 200px; 
  display: flex;
  align-items: center; 
  justify-content: center;
  color: white; 
  text-align: center;
}


.unidades-sec h2{
  font-family: "Roboto", "sans-serif";
  text-align: center;
}

.unidades-sec{
  min-height: 70vh;
  background: linear-gradient(to bottom, #fbfdff, #dbdbdb);
    padding: 40px 20px;
}

.categoria-card {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.categoria-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.categoria-card.active-card {
  background-color: #e9ecef; 
  border: 2px solid #000; 
  box-shadow: 0 0 25px rgba(50, 67, 91, 0.3);
}


.img-icon {
  width: 129px;
  height: 128px;
  object-fit: contain;
}


/*otros styles*/

.unidad-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #fff;
  min-height: 420px;
  transition: transform 0.2s ease;
}

/* .unidad-card:hover {
  transform: translateY(-5px);
} */

.unidad-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.unidad-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.unidad-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.unidad-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.unidad-card-btn {
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
  width: 100%;
}

.ver-mas-btn {
  background-color: #212529;
  color: white;
}

.ver-mas-btn:hover {
  background-color: #495057;
}

.unidad-consultar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #198754;
  color: white;
  padding: 10px 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  width: 100%;
  transition: background-color 0.25s ease;
}

.unidad-consultar-btn:hover {
  background-color: #157347;
}

