/*
Custom Css
*/
/* ---------------- LOGO ---------------- */


/* ---------------- TESTIMONIOS ---------------- */

.testimonio-card {
  background-color: #ffffff;
  color: #222222;
  border: 1px solid #d1e7dd;
  border-radius: 15px;
  padding: 2rem;
  min-height: 300px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonio-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.testimonio-nombre {
  font-size: 1.3rem;
  font-weight: bold;
  color: #9098f7;
  margin-bottom: 1rem;
}

.testimonio-mensaje {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.6;
  min-height: 200px; /* asegura que todos los mensajes tengan un espacio mínimo */
}


/* ---------------- FORMULARIO ---------------- */
form {
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  font-size: 1rem;
  color: #333;
  margin-bottom: 8px;
}

form input[type="text"],
form input[type="number"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 20px;
  box-sizing: border-box;
}

form textarea {
  height: 150px;
  resize: vertical;
}

form button[type="submit"] {
  font-size: 1rem;
  background-color: #2c3e50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #34495e;
}

/* ---------------- CARRUSEL SWIPER ---------------- */
.swiper-button-next,
.swiper-button-prev {
  color: #9098f7;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  color: #9098f7;
}

/* ---------------- BOTÓN SUBIR ---------------- */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 9999; /* <-- Este hace que el botón sobresalga */
}



/* ---------------- ANIMACIONES INDEX ---------------- */

.body_principal{
  background-color: rgb(243, 240, 240);
}
.resaltable {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px;
  border-radius: 15px;
  background-color: white;
}

.resaltable:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/*----------------------- CARD DEL INDEX ---------------*/

.card.tarjeta-servicio {
  /*width: 350px;*/
  height: auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Movimiento sutil al pasar el mouse */
.card.tarjeta-servicio:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.15);
}

/* IMAGEN */
.card.tarjeta-servicio img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

/* TEXTOS */
.card.tarjeta-servicio .textos {
  padding: 20px;
  text-align: center;
}

.card.tarjeta-servicio h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card.tarjeta-servicio p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* BOTÓN */
.card.tarjeta-servicio button {
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #9098f7;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 15px;
}

.card.tarjeta-servicio button:hover {
  background-color: #9098f7;
}
