/********** Template CSS **********/
:root {
    --primary: #de9f1f;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}
.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
    z-index: 1; /* Asegura que el fondo esté detrás del modal */
  }
  
  .my-custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    z-index: 2;
    padding: 20px;
    border-radius: 5px;
  }
  .my-custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    max-width: 90%; /* Máximo ancho del modal */
    max-height: 90%; /* Máxima altura del modal */
    background-color: rgba(0, 0, 0, 0.1); /* Fondo semi-transparente */
    border-radius: 10px; /* Bordes redondeados */
    overflow: hidden; /* Oculta el contenido que sobresale */
  }
  
  .modal-body {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .modal-body img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta la imagen al contenedor sin deformarla */
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 24px;
    color: white;
  }
  /* Estilos generales para el modal */
.my-custom-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  /* Estilos específicos para dispositivos móviles */
  @media only screen and (max-width: 768px) {
    .my-custom-modal {
      width: 90%; /* Ancho del modal en dispositivos móviles */
      height: 90%; /* Alto del modal en dispositivos móviles */
      max-width: none; /* Restablece el ancho máximo */
      max-height: none; /* Restablece la altura máxima */
      border-radius: 0; /* Elimina los bordes redondeados */
    }
  
    .modal-body {
      padding: 20px; /* Agrega relleno al cuerpo del modal */
    }
  
    .modal-body img {
      width: 100%; /* Ajusta el tamaño de la imagen al 100% del ancho del modal */
      height: auto; /* Ajusta la altura automáticamente */
    }
  
    .close-button {
      top: 20px; /* Ajusta la posición del botón de cierre */
      right: 20px; /* Ajusta la posición del botón de cierre */
    }
  }
  
  
  /* Resto del CSS... */
  
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.navbar {
    border-bottom: 3px solid  #daae2e !important; /* Cambia el color del borde a blanco */
}
.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}
@keyframes zoomButton {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#paymentButton {
    animation: zoomButton 2s infinite; /* Ajusta la duración y las propiedades de la animación según tu preferencia */
}

.btn-wsp {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    line-height: 63px;
    bottom: 25px !important;
    right: 25px !important;
    background: #25d366;
    color: #FFF !important;
    border-radius: 50px !important;
    text-align: center !important;
    font-size: 35px !important;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.3)!important;
    z-index: 100 !important;
    transition: all 300ms ease !important;
}

.btn-wsp:hover {
    transform: scale(1.1); /* Ajusta el nivel de zoom al pasar el cursor */
    border-color: #007bff; /* Cambia el color del borde al pasar el cursor para hacerlo más notorio */
}


 /* Estilos para el contenedor de la imagen */
 #imageContainer {
    display: none; /* La imagen estará oculta por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo semitransparente */
    z-index: 9999; /* Asegura que la imagen esté por encima de otros elementos */
    text-align: center;
    padding-top: 50px; /* Ajusta el espacio superior */
  }

  /* Estilos para la imagen */
  #imageContainer img {
    max-width: 90%; /* Ajusta el ancho máximo de la imagen según sea necesario */
    max-height: 80vh; /* Ajusta la altura máxima de la imagen según sea necesario */
    border-radius: 10px;
  }

  /* Estilos para el botón de cierre */
  #closeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffffff;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}