.carousel-item h5 {
  font-size: 3em;
  line-height: 1.1;
  text-shadow: 2px 2px 8px #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #BC0004;
}

.header-top-bar .large-icon a {
font-size: 18px;
    width: 30px;
    height: 30px;  
}

/* Custom styles for service tabs */
.service-tabs {
    display: flex;
    width: 100%;
}

/* .btn-close {
    filter: invert(1) !important;
    background: none !important; 
    opacity: 1; 
} */


/* Medium screens and up - tabs in a single row */
@media (min-width: 768px) {
    .service-tabs .nav-item {
        flex: 1;
        text-align: center;
    }
    
    .service-tabs .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.5rem;
        height: 100%;
    }
    
    .tab-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

/* Small screens - tabs full width with icon and text in same row */
@media (max-width: 767.98px) {
    .service-tabs {
        flex-direction: column;
    }
    
    .service-tabs .nav-item {
        width: 100%;
    }
    
    .service-tabs .nav-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
    }
    
    .tab-icon {
        font-size: 1.25rem;
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

.service-tabs .nav-link {
    color: #495057;
    border-radius: 0;
    transition: all 0.3s ease;
}

.service-tabs .nav-link.active {
    color: #181A4B;
    border-bottom: 3px solid #BC0004;
    background-color: transparent;
}

.service-tabs .nav-link:hover:not(.active) {
    background-color: rgba(13, 110, 253, 0.05);
    border-color: transparent;
}

/* Gallery styles */
.gallery-container {
    padding: 2rem 0;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

.gallery-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox modal styles */
.modal-content {
    background-color: rgba(0, 0, 0, 1);
    border: none;
}

.modal-footer {
    border-top: none;
    justify-content: center;
    color: white;
}

#lightboxImage {
    max-height: 80vh;
    object-fit: contain;
}

.modal-footer h5 {
    font-size: 1rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.lista-valores li {
    font-size: 1.2em;
}


.lista-valores li i{
    color: #BC0004;
}

/*Socios*/
#socios {
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  #socios::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/images/bg_patterns.webp');
    background-size: cover; /* o lo que necesites */
    background-repeat: no-repeat;
    background-position: center;
    transform: scaleX(-1);
    z-index: -1;
  }


/* Nube aliados */

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
  }
  
  .logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transition: all 0.3s ease;
  }
  
  .logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }
  
  .logo-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Tamaños variables para efecto de nube */
  .logo-size-1 {
    width: 100px;
    height: 80px;
  }
  
  .logo-size-2 {
    width: 120px;
    height: 90px;
  }
  
  .logo-size-3 {
    width: 140px;
    height: 100px;
  }
  
  .logo-size-4 {
    width: 160px;
    height: 110px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .logo-size-1 {
      width: 80px;
      height: 60px;
    }
  
    .logo-size-2 {
      width: 90px;
      height: 70px;
    }
  
    .logo-size-3 {
      width: 100px;
      height: 80px;
    }
  
    .logo-size-4 {
      width: 110px;
      height: 90px;
    }
  }
  
  .text-marker {
    position: relative;
    display: inline-block;
  }
  
  
  /* .text-marker::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #ff3333;
    border-radius: 4px;
    transform: rotate(-0.3deg);
    opacity: 0.85;
    clip-path: polygon(0 0, 100% 35%, 100% 100%, 0% 65%);
  } */

  .text-marker::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 0;
    height: 70px; /* Ajusta según el alto de tu imagen */
    background-image: url('../images/decor-3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom left;
  }

  footer {
    background-image: none;
  }

  .tick-circle {
    background-color: #BC0004; /* rojo institucional */
    color: white;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.decor-bottom {
  position: absolute;
  bottom: -30px; 
  left: -10px;
}

.decor-derecha {
  position: absolute;
  right: 0px; 
}

.decor-derecha img {
  width: 450px; /* Default size for small screens */
  opacity: 0.1;
  z-index: 0;
}

.decor-bottom img {
  width: 150px; /* Default size for small screens */
}

.bg-orient-blue {
  background-color: rgb(49,31,82);
}

.decor-izquierda {
  display: none;
}

@media (min-width: 768px) { /* md breakpoint */
  .decor-bottom img {
    width: 300px;
  }

  footer {
    background-image: url('../images/decor-bottom.png');
    background-size: cover;
    background-position-y: bottom;
    background-repeat: no-repeat;
    position: relative;
  }

  .decor-izquierda {
    display: block;
  }

  .bg-orient-blue {
    background-color: white;
  }

  .form-container {
    z-index: 1;
    position: relative;
  }

  .text-marker::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 70px; /* Ajusta según el alto de tu imagen */
    background-image: url('../images/decor-3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom left;
  }

}

/* Extra small screens adjustments */
@media (max-width: 575.98px) {
    .service-tabs .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 1.2rem;
    }
    
    .tab-icon {
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }
}