body,
html {
  font-family: "Poppins", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 30px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

#menu {
  padding: 15px;
  transition: all 0.8s;
}

.imagen-logo-navbar {
  max-width: 55px;
  height: auto; /* Mantiene las proporciones */
  object-fit: contain; /* Asegura que la imagen no se distorsione */
  border-radius: 50%; /* Redondea las esquinas, ideal s el fondo blanco es un círculo */
  background-color: #f0f0f0; /* Cambia el color si lo necesitas */
  margin-right: 25px;
}

#menu.navbar {
  display: ruby;
  background-color: #2b2b2f; /* Fondo oscuro */
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: #58a697;
  text-transform: uppercase;
  filter: brightness(1.2);
}

#menu .navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  color: #cfd6d2;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  margin: 9px 20px 0;
  position: relative;
  filter: brightness(1.4);
}

#menu .navbar-nav .nav-link::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #37a945 0%, #73d882 100%);
  content: "";
  transition: width 0.2s;
}

#menu .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .active > .nav-link,
.navbar-nav .active > .nav-link:hover,
.navbar-nav .active > .nav-link:focus {
  background-color: transparent;
}

.navbar-nav .active > .nav-link::after,
.navbar-nav .active > .nav-link:hover::after,
.navbar-nav .active > .nav-link:focus::after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #37a945 0%, #73d882 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

/* Estilos para el botón de menú hamburguesa (navbar-toggler) en Bootstrap 5 */
.navbar-toggler {
  border-radius: 0;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(96, 141, 253, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

/* Sección de títulos */
.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #37a945 0%, #73d882 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 18px;
}

/*Botones /*/
.button-container {
  position: relative; /* Asegura que el botón se pueda mover dentro de su contenedor */
  top: 220px; /* Ajusta el valor según lo necesites para mover el botón hacia abajo */
  /* Puedes ajustar "top" para mover el botón sin afectar la imagen de fondo */
}
.btn-color {
  color: #266d2f;
}
.btn-custom {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #58a697;
  //background-image: linear-gradient(to right, #73d882 0%, #37a945 100%);
  padding: 14px 34px;
  letter-spacing: 2px;
  margin: 10px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.5s linear;
  border: 0;
  filter: brightness(1);
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #11996d;
  filter: brightness(1);
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.intro {
  background-size: cover;
  height: 100vh;
  min-height: 800px; /* O el valor mínimo que necesites */
  position: relative;
  background: url(../img/vial04.jpeg) center bottom no-repeat;
}
@media (min-width: 1200px) {
  .intro {
    background-size: cover; /* Muestra la imagen completa en pantallas muy grandes */
    background-position: center center; /* Alinea la imagen desde el centro superior */
  }
}

@media (max-width: 768px) {
  .intro {
    background-position: center center; /* Asegura que la imagen esté centrada */
    background-size: cover; /* Cubre toda la pantalla */
    min-height: 10px; /* O el valor mínimo que necesites */
  }
}

@media (max-width: 480px) {
  .intro {
    background-size: contain; /* Asegura que toda la imagen se vea en pantallas muy pequeñas */
    height: 50vh; /* Reduce aún más la altura para pantallas muy pequeñas */
  }
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
  height: 100%; /* Ocupa el 100% de la altura del contenedor */
  justify-content: center;
  align-items: center;
  display: flex;
}

.intro h1 {
  display: flex;
  font-family: "Poppins", Sans-serif;
  color: #f3f3f3;
  font-size: 70px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: center;
  margin-top: 60px; /* Sube el texto sin afectar el tamaño de la imagen */
  overflow: hidden;
  filter: brightness(1.75);
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #fff;
  font-size: 20px;
  font-weight: 20px;
  line-height: 20px;
  margin-top: 0;
  margin-bottom: 100px;
}
header .intro-text {
  display: flex;

  text-align: center;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente el contenido */
  align-items: center;
  margin-top: -220px;
}
/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  header .intro-text {
    padding-top: 0px; /* Reduce el padding superior */
    padding-bottom: 400px; /* Reduce el padding inferior */
    margin-top: 0; /* Elimina el margen superior negativo */
  }

  .button-containeranimated {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: top;
  }

  .button-containeranimated a {
    font-size: 10px; /* Ajusta el tamaño del texto del botón */
    padding: 10px 20px; /* Reduce el padding para disminuir la altura */
    width: auto; /* Asegura que el botón ocupe el 100% del contenedor */
    line-height: 1.2; /* Ajusta la altura de línea para controlar la altura del texto */
  }
}
/* Features Section */
#features {
  background: #f6f6f6;
  padding: 2em;
}
#features i.fa {
  font-size: 40px;
  margin-bottom: 20px;
  margin-top: -40px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: #58a697;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#features .custom-text {
  font-size: 45px; /* Tamaño de texto personalizado */
  color: black; /* Color de texto personalizado */
  margin: 2em;
}
/* Elevate the icons and text on the extremes */
#features .row .col-xs-6:nth-child(1), /* First icon and text */
#features .row .col-xs-6:nth-child(4) {
  /* Last icon and text */
  margin-top: -100px; /* Adjust this value to raise both the icon and text */
}

#features .row .col-xs-6:nth-child(1) i.fa, /* First icon */
#features .row .col-xs-6:nth-child(4) i.fa {
  /* Last icon */
  margin-top: -60px; /* Adjust this value to raise the icons */
}

#features .row .col-xs-6:nth-child(1) h3 {
  font-size: 30px;
}
,
#features .row .col-xs-6:nth-child(4) h3 {
  font-size: 30px;
}
,
#features .row .col-xs-6:nth-child(1) p {
  font-size: 30px;
}
,
#features .row .col-xs-6:nth-child(4) p {
  /* Last paragraph */
  margin-top: 10px; /* Adjust this value to raise the text */
}
#features p {
  margin: 1em 0; /* Espaciado superior e inferior */
  font-size: 18px;
  color: #104c7f;
  font-weight: 600;
}
/* Responsiveness */
@media (max-width: 768px) {
  #features {
    text-align: center;
    padding: 1em;
  }

  #features .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Reset margins for small screens */
  #features .col-xs-6 {
    width: 100%;
    margin-bottom: 2em;
    text-align: center;
  }

  #features .row .col-xs-6:nth-child(1),
  #features .row .col-xs-6:nth-child(4) {
    margin-top: 20px; /* Reset the margin for the first and last icons */
  }

  #features i.fa {
    font-size: 25px;
    width: 80px;
    height: 80px;
    justify-content: center;
  }

  #features .custom-text {
    font-size: 50px;
    margin: 1em 0;
  }
}

/* About Section */

/* Estilos generales para el video */
.video-responsive {
  width: 70%;
  height: auto%;
  max-width: 70%;
  margin-top: 10px;
  border-radius: 25px;
  margin: 20px auto; /* Ajusta el margen superior e inferior para espaciado */
  box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.4);
}

/* Media queries para pantallas grandes */
@media (min-width: 768px) {
  #about .row {
    display: flex;
    align-items: start;
  }
}
/* Media queries para adaptar el video en pantallas más pequeñas */
@media (max-width: 768px) {
  #about video {
    margin: 50px 0;
    margin-left: 100px;
    width: 100%; /* Asegura que el video ocupe todo el ancho disponible */
    height: auto;
    margin-left: 0; /* Centra el video en pantallas pequeñas */
  }
}

@media (max-width: 576px) {
  #about video {
    width: 100%; /* Ocupa el 100% del ancho en dispositivos pequeños */
    height: auto;
  }
}

#about {
  padding: 100px 0;
  background: linear-gradient(to right, #f6f6f6 -30%, #58a697 80%);
}
#about h3 {
  font-size: 40px;
  margin: 0 0 20px;
  margin-bottom: 50px;
  font-weight: bold;
  color: #333333;
}
#about h2 {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 10px;
  font-size: 60px;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #73d882 0%, #37a945 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
.about-text {
  margin-top: -30px;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: #333333;
  font-size: 20px;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #37a945;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about .about-text01 li:before {
  content: "\f057";
  font-family: "FontAwesome";
  color: #e80e0b;
  font-size: 11px;
  font-weight: 500px;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
.div-imagen-about {
  text-align: center;
}
.imagen-logo-about {
  max-width: 250px;
  height: auto; /* Mantiene las proporciones */
  object-fit: contain; /* Asegura que la imagen no se distorsione */
  border-radius: 50%; /* Redondea las esquinas, ideal s el fondo blanco es un círculo */
  background-color: #f0f0f0; /* Cambia el color si lo necesitas */
}
#about p {
  padding-top: 50px;
  line-height: 1.8;
  margin: 30px 0;
  margin-bottom: 50px;
  font-size: 20px;
  color: #333333;
  font-weight: 600;
}
/* Services Section */
#services {
  padding: 100px 0;
  //background: linear-gradient(to right, #f5f5dc 0%, #acf7ab 100%);
  background: #f6f6f6;
  color: #000000;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services p {
  color: #333333 !important;
  font-size: 20px;
  font-weight: 500;
  text-align: start;
}
#services h2 {
  color: #000000;
  font-size: 40px;
  margin-bottom: 50px;
}
#services .section-title h2::after {
  position: absolute;
  content: " ";
  background: rgba(115, 216, 130, 1);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services .row {
  margin-top: 150x;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #0ab9f1 0%, #3b3faf 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
#services h3 {
  font-weight: 800;
  padding: 5px 0;
  font-size: 25px;
  color: black;
}

#services .service-desc {
  margin-bottom: 70px;
}
/* Gallery */

#portfolio {
  background: url(../img/Mapa.jpg) no-repeat center center;
  background-size: cover;
  padding: 50px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 30px;
  padding: 0 50px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  opacity: 0.9;
}

.gallery-item:hover {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 350px; /* Fija la altura según tus necesidades */
  object-fit: cover; /* Esto asegura que la imagen llene el contenedor */
  display: block;
  border-radius: 15px 15px 0 0;
}

.text-container {
  padding: 15px;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  background: white;
  background-color: #e4e5ec;
  word-spacing: normal;
}

.texto-Imagenes {
  font-size: 20px;
  font-weight: 600;
  color: #666;
  margin-bottom: 10px;
  text-align: center;
}

.contact-button {
  text-align: center;
  padding: 10px 20px;
  background-color: #2b2b2f;
  color: white;
  font-family: "Poppins", Sans-serif;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 800;
  filter: brightness(1.1);
  width: 300px;
  height: 50px;
  max-width: 300px;
}
/* Animación de parpadeo */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.blink-button {
  animation: blink 1.5s infinite;
  transition: opacity 0.5s ease-in-out;
}

.contact-button:hover {
  background-color: #04a67a;
}

.section-title h2 {
  font-size: 40px;
}
/* Ajustes para dispositivos medianos (tablets) */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
  }

  .gallery-item img {
    height: auto;
    max-height: 250px;
  }
}

/* Ajustes para dispositivos pequeños (smartphones) */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 0 10px;
  }

  .gallery-item {
    align-items: center;
    width: 100%;
  }

  .gallery-item img {
    max-height: 200px;
  }

  .text-container {
    padding: 10px;
    width: 100%;
  }

  .texto-Imagenes {
  }

  .contact-button {
    width: 100%;
    padding: 8px;
    font-size: 14px;
  }
}

/* Ajustes para dispositivos muy pequeños (menores de 500px) */
@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-gap: 15px;
    padding: 0 5px;
  }

  .gallery-item img {
    max-height: 320px;
  }

  .texto-Imagenes {
    font-size: 16px;
  }

  .contact-button {
    font-size: 12px;
    padding: 6px;
  }
}
/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #58a697 0%, #58a697 100%);
  color: rgba(255, 255, 255, 0.75);
}
#contact .section-title {
  margin-bottom: 40px;
  font-weight: bold;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  float: left;
}
#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fab {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}
/* Footer Section*/
#footer {
  background: #2b2b2f;
  padding: 10px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

/* CSS */
.col-xs-12.col-md-5 {
  display: flex;
  justify-content: start; /* Centra horizontalmente */
  align-items: start; /* Centra verticalmente */
  margin-bottom: 20px; /* Espaciado hacia abajo */
  height: 100%; /* Asegúrate de que el contenedor tenga altura para centrar verticalmente */
}

/* ReviewCard.css */
.review-section {
  margin: 50px 100px; /* Simplificado */
  padding: 20px;
  text-align: center;
}

.reviews-header {
  margin-bottom: 20px;
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 20px; /* Combina márgenes */
  font-size: 40px;
}

.google-rating i {
  color: #ffd700; /* Color dorado para las estrellas */
}

.google-logo {
  width: 100px;
  margin-left: 10px;
}

.review-cards-container {
  display: flex;
  overflow: hidden; /* Oculta el desbordamiento */
  position: relative; /* Para el posicionamiento de la animación */
  width: 100%; /* Asegura que el contenedor use el ancho completo */
}

.review-cards-wrapper {
  display: flex; /* Contenedor para permitir el desplazamiento */
  transition: transform 0.5s ease; /* Suave transición */
}

.review-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  width: 300px; /* Ancho de cada tarjeta */
  box-shadow: 0 0 10px rgba(0, 0, 4, 0.5);
  flex: 0 0 auto; /* Evita que las tarjetas se compriman */
  margin-right: 20px; /* Espacio entre tarjetas */
}

.review-header h4 {
  margin: 0;
}

.review-footer .review-rating i {
  margin-right: 5px;
  color: #ffd700;
}

.carousel-button {
  cursor: pointer;
  background-color: #ffd700; /* Botón dorado */
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  color: white;
}
/* Pay Button*/

.safari-pay-button {
  text-decoration: none;
  display: inline-block;
  padding: 15px 0;
  width: 260px;
  border-radius: 27px;
  background: #58a697;
  color: #f6f6f6;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  font-family: Poppins;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.8);
  position: relative;
  top: 255px;

  &:hover,
  &:visited,
  &:active,
  &:focus {
    text-decoration: none;
    color: #3d746a;
  }
}

.pay-button {
  top: 255px;
  --c-color: #f6f6f6;
  --c-background: #58a697;
  --c-light: #fcbb33;
  --c-light-shine: linear-gradient(
    90deg,
    rgba(252, 187, 51, 0.9),
    rgba(252, 187, 51, 0)
  );
  --c-base: #0d6e9d;
  --c-wheel: #0d6e9d;
  --c-wheel-inner: #004e71;
  --c-wheel-dot: #fff;
  --c-back: #f2f6fe;
  --c-back-inner: #2790c3;
  --c-front: #f2f6fe;
  --c-front-shadow: #cdd1d9;
  --c-window: #000;

  --rotate: 0deg;
  --y: 0px;
  --scale: 1;
  --default-o: 1;
  --success-o: 0;
  --success-offset: 16px;
  --truck-y: 0px;
  --truck-base-x: 16px;
  --truck-wrapper-y: 70px;
  --light-opacity: 0;
  padding: 15px 0;
  width: 260px;
  border-radius: 27px;
  cursor: pointer;
  text-align: center;
  position: relative;
  border: none;
  outline: none;
  background: var(--c-background);
  color: var(--c-color);
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transform-style: preserve-3d;
  -webkit-transform: scale(var(--scale)) rotate(var(--rotate))
    translateY(var(--y));
  transform: translateY(var(--y)) rotateX(var(--rotate)) scale(var(--scale))
    translateZ(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 1.8); /* brillo al rededr del boton */
  will-change: transform;
  -webkit-transition: transform 3s ease;
  transition: transform 3s ease; /* tiempo de transisicion */
  &:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--c-background);
    height: 4px;
    border-radius: 2px;
    display: block;
    top: 50%;
    margin-top: -2px;
    transform-origin: 0 100%;
    transform: rotateX(90deg);
  }
  .default,
  .success {
    display: block;
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
    opacity: var(--o, var(--default-o));
    font-family: "Poppins", sans-serif;
  }
  .success {
    --o: var(--success-o);
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    svg {
      width: 16px;
      height: 14px;
      display: inline-block;
      vertical-align: top;
      fill: none;
      margin: 5px 0 0 8px;
      stroke: var(--c-color);
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 16px;
      stroke-dashoffset: var(--success-offset);
    }
  }
  .truck-wrapper {
    position: absolute;
    pointer-events: none;
    top: -140px;
    left: -100px;
    right: -40px;
    bottom: 0px;
    overflow: hidden;
    -webkit-transform: translateY(var(--truck-wrapper-y)) rotateX(90deg);
    transform: translateY(var(--truck-wrapper-y)) rotateX(90deg);
    will-change: transform;
    transition: transform 1s ease-in-out; /* Aquí '1s' indica 1 segundo, puedes ajustarlo */
    -webkit-mask-image: linear-gradient(
      to left,
      transparent 0%,
      black 60px,
      black
    );
    mask-image: linear-gradient(to left, transparent 0%, black 60px, black);
    .truck {
      position: absolute;
      top: 24px;
      left: 100px;
      width: 72px;
      height: 60px;
      transform: translate3d(var(--truck-base-x), calc(var(--truck-y)), 0);
      &:before,
      &:after {
        content: "";
        position: absolute;
        bottom: -9px;
        left: var(--l, 25px);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        z-index: 2;
        box-shadow: inset 0 0 0 3px var(--c-wheel),
          inset 0 0 0 6px var(--c-wheel-inner);
        background: var(--c-wheel-dot);
        transform: translateY(calc(var(--truck-y) * -1)) translateZ(0);
      }
      &:after {
        --l: 85px;
      }
      .wheel,
      .wheel:before {
        position: absolute;
        bottom: var(--b, -9px);
        left: var(--l, 6px);
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--c-wheel);
        transform: translateZ(0);
      }
      .wheel {
        transform: translateY(calc(var(--truck-y) * -1)) translateZ(0);
      }
      .wheel:before {
        --l: 60px;
        --b: 0;
        content: "";
      }
      .light {
        position: absolute;
        right: -41px;
        bottom: 3px;
        width: 4px;
        height: 3px;
        border-radius: 1px 0 0 1px;
        background: var(--c-light);
        &:before,
        &:after {
          content: "";
          position: absolute;
          left: 4px;
          top: -6px;
          display: block;
          width: 40px;
          height: 19px;
          background: var(--c-light-shine);
          opacity: var(--light-opacity);
          clip-path: polygon(0 6px, 100% 0, 100% 80%, 0 9px);
        }
        &:after {
          left: -8px;
          clip-path: polygon(11px 4px, 100% 0, 100% 80%, 11px 11px);
        }
      }
      .front,
      .back,
      .box {
        position: absolute;
      }
      .back {
        left: 0;
        bottom: 0;
        z-index: 1;
        width: 75px;
        height: 45px;
        border-radius: 3px 3px 0 0;
        background: var(--c-back-inner);
        &:before,
        &:after {
          content: "";
          position: absolute;
        }
        &:before {
          left: 17px;
          top: 0;
          right: 0;
          bottom: 0;
          z-index: 4;
          border-radius: 0 2px 0 0;
          background: var(--c-back);
        }
        &:after {
          border-radius: 2px;
          width: 116px;
          height: 4px;
          left: -2px;
          bottom: -4px;
          background: var(--c-base);
        }
        .shadow {
          height: 44px;
          width: 14px;
          position: absolute;
          top: 0;
          left: 3px;
          z-index: 3;
          clip-path: polygon(0 0, 100% 0, 100% 100%);
          background: rgba(0, 0, 0, 0.15);
        }
        svg {
          display: block;
          position: absolute;
          z-index: 5;
          left: 38px;
          top: 10px;
          &.icon {
            top: 30px;
            right: 20px;
            z-index: 2;
            left: auto;
          }
        }
      }
      .front {
        left: 75px;
        bottom: 0;
        height: 33px;
        width: 37px;
        clip-path: polygon(55% 0, 72% 44%, 100% 58%, 100% 100%, 0 100%, 0 0);
        background: linear-gradient(
          84deg,
          var(--c-front-shadow) 0%,
          var(--c-front-shadow) 10%,
          var(--c-front) 12%,
          var(--c-front) 100%
        );
        &:before {
          content: "";
          position: absolute;
          width: 11px;
          height: 12px;
          left: 11px;
          top: 3px;
          clip-path: polygon(0 0, 60% 0%, 100% 100%, 0% 100%);
          background: var(--c-window);
        }
      }
    }
  }
}

.shorticons {
  position: absolute;
  left: 50%;
  bottom: 14px;
  line-height: 32px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: block;
  text-decoration: none;
  transform: translateX(-50%);
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

/* payMethods*/

.payment-methods-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.section-description {
  text-align: center;
  color: #104c7f;
  margin-bottom: 2rem;
  font-size: 20px;
  font-weight: 500;
}

/* Estilos para las tarjetas */
.payment-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.card-icon i {
  color: #3b82f6; /* Color azul similar a Tailwind blue-500 */
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.75rem;
  text-align: center;
}

.card-description {
  color: #104c7f;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1rem;
}

/* Estilos para la lista de ventajas */
.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #104c7f;
}

.advantage-icon {
  color: #10b981; /* Color verde similar a Tailwind green-500 */
  font-size: 0.875rem;
}

/* Sección de seguridad */
.security-section {
  margin-top: 3rem;
  text-align: center;
}

.security-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.security-icon {
  font-size: 2rem;
}

.security-icon.shield {
  color: #10b981; /* Verde */
}

.security-icon.lock {
  color: #3b82f6; /* Azul */
}

.security-text {
  color: #666;
  font-size: 1.25rem;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .payment-card {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-icon {
    font-size: 2rem;
  }
}

/*Component tarjetas grid proceso de envio*/
