@media (max-width: 767px) {
    .modal-fullscreen-xs-down {
      padding: 0 !important;
    }
    .modal-fullscreen-xs-down .modal-dialog {
      margin: 0;
      width: 100%;
      height: 100%;
      padding: 0;
    }
    .modal-fullscreen-xs-down .modal-content {
      height: auto;
      min-height: 100%;
      border: 0 none;
      border-radius: 0;
    }
  }
  @media (max-width: 991px) {
    .modal-fullscreen-sm-down {
      padding: 0 !important;
    }
    .modal-fullscreen-sm-down .modal-dialog {
      margin: 0;
      width: 100%;
      height: 100%;
      padding: 0;
    }
    .modal-fullscreen-sm-down .modal-content {
      height: auto;
      min-height: 100%;
      border: 0 none;
      border-radius: 0;
    }
  }
  @media (max-width: 1199px) {
    .modal-fullscreen-md-down {
      padding: 0 !important;
    }
    .modal-fullscreen-md-down .modal-dialog {
      margin: 0;
      width: 100%;
      height: 100%;
      padding: 0;
    }
    .modal-fullscreen-md-down .modal-content {
      height: auto;
      min-height: 100%;
      border: 0 none;
      border-radius: 0;
    }
  }
  .modal-fullscreen {
    padding: 0 !important;
  }
  .modal-fullscreen .modal-dialog {
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .modal-fullscreen .modal-content {
    height: auto;
    min-height: 100%;
    border: 0 none;
    border-radius: 0;
  }


  /*cards*/
  .newsCard {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #fff;
    color:#fff;
    overflow: hidden;
    border-radius: 6px;
  }
  
  figure img {
  display: block;
  object-fit: cover !important;
  object-position: center center !important; height: 100%;
  width: 100%;
  }
  
  .overlay{
    background: rgb(40,26,54);
    background: -moz-linear-gradient(0deg, rgba(40,26,54,1) 0%, rgba(89,59,116,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(40,26,54,1) 0%, rgba(89,59,116,0) 100%);
    background: linear-gradient(0deg, rgba(40,26,54,1) 0%, rgba(89,59,116,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#281a36",endColorstr="#593b74",GradientType=1);
    display: block;
    position: absolute;
    height: 200px;
    width: 100%;
    bottom: 0;
    z-index: 3;
  }
  
  .newsCaption {
    position: absolute;
    top: auto;
    bottom: 31px;
    left: 0;
    width: 100%;
    height: 35%;
    z-index: 10;
    padding: 15px;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition:  -webkit-transform 0.4s;
    transition:  -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s,  -webkit-transform 0.4s;
  }
  .newsCaption i{font-size: 24px;}
  
  .newsCaption-title {
    margin-top: 0px;
  }
  .newsCaption-content {
    margin: 0;
  }
  
  .newsCaption-link {
    color: #fff;
    text-decoration: underline;
    opacity: .8;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-duration: 0.15s;
            transition-duration: 0.15s;
    -webkit-transition-timing-function: cubic-bezier(0.39, 0.58, 0.57, 1);
            transition-timing-function: cubic-bezier(0.39, 0.58, 0.57, 1);
  }
  .news-Slide-up:hover .overlay{ background: rgb(64,10,111);
  background: -moz-linear-gradient(0deg, rgba(64,10,111,1) 0%, rgba(89,59,116,0) 100%);
  background: -webkit-linear-gradient(0deg, rgba(64,10,111,1) 0%, rgba(89,59,116,0) 100%);
  background: linear-gradient(0deg, rgba(64,10,111,1) 0%, rgba(89,59,116,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#400a6f",endColorstr="#593b74",GradientType=1);
  }


  /*card projects list*/

  .card{
    max-width: 380px;
  }
  
  .card-image-wrapper {
    display: flex;
    width: 100%;
    height: 250px;
    /* Just to show the size of the image wrapper */
    background-color: darkgrey;
  }
  
  .card-img-top {
    display: block;
    width: auto;
    max-height: 100%;
    margin: auto;
  }




  /*boton whatsapp*/

  .float-button {
    text-decoration: none;
    position: fixed;
    padding: 10px;
    padding-right: 15px;
    bottom: 30px;
    right: 30px;
    color: #fff;
    background-color:#FF5722;
    border-radius: 25px 30px 5px 25px;
    z-index: 100;
    font-family: Arial;
    font-size: 17px;
    animation: whatsapp-animation 0.5s ease-in-out;
    box-shadow: 1px 2px 5px 2px rgba(30,30,30,0.3);
    transition:all 0.3s ease-out;
}

.float-button:hover {
     background-color: #EB3300;
      color: #fff;
}

.bi-whatsapp {
    font-size: 20px !important;
    padding-left: 5px;
}

@keyframes whatsapp-animation {
    from {
        opacity: 0%;
    }

    to {
        opacity: 100%
    }
}

@media screen and (max-width: 545px) {
    span {
        display: none;
    }

    .float-button {
        bottom: 15px;
        right: 15px;
        width: 20px;
        border-radius: 20px 20px 5px 20px;
    }

    .bi-whatsapp {
        font-size: 22px !important;
        padding: 4px;
    }
}

@media (max-width: 768px) {
  .nav-tabs {
      display: none; /* Ocultar tabs en pantallas pequeñas */
  }
}

@media (min-width: 769px) {
  .dropdown {
      display: none; /* Ocultar dropdown en pantallas grandes */
  }
}




.nav-link-custom-1, .nav-link-custom-2 {
  color: #081F2C; /* Azul oscuro */
  background-color: transparent;
  transition: all 0.3s ease;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.nav-link-custom-1:hover, .nav-link-custom-2:hover {
  color: #EB3300; /* Naranja brillante */
  background-color: rgba(235, 51, 0, 0.1); /* Fondo naranja suave */
}

.nav-link-custom-1:active, .nav-link-custom-2:active {
  color: #FFFFFF; /* Blanco */
  background-color: #EB3300; /* Naranja brillante */
}

.nav-link-custom-1.active, .nav-link-custom-2.active {
  color: #FFFFFF; /* Blanco */
  background-color: #EB3300; /* Naranja brillante */
}




.pagination-container {
  display: flex;
  justify-content: left;
  margin-top: 20px;
}

.page-button {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  cursor: pointer;
}

.page-button.active {
  background-color: #FF5722;
  color: #fff;
  border-color: #FF5722;
}