body {
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Fondo animado en el header */
header {
  position: relative;
  overflow: hidden;
  /*background: linear-gradient(45deg, #2D8598, #88C9B9, #F8AD2A, #DF252A
);*/
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  padding: 20px 10px; 
  width: 71%;
  margin: 0 auto;
  margin-top: 10px;
  border-radius: 20px;
}

/* Contenedor para mantener fijos logo y nav */
header .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Permite que se acomoden en dispositivos pequeños */
}

/* Aseguramos que el logo se adapte sin deformarse */
header .logo {
  max-width: 100%;
  height: auto;
}

/* Quitamos el fondo por defecto del nav para que se vea el gradiente */
header nav {
  background-color: transparent !important;
}

.container-custom {
    margin-top: 20px;
    margin-right: 10px;
}

.logo {
    height: 150px;
}
nav {
    border-radius: 20px;
    margin: 10px;
    transition: background-color 0.3s ease-in-out;
}

nav:hover {
    background-color: #f0f0f0 !important;
}

nav ul a {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

nav ul li a {
    color: darkslategray;
}

nav ul a:hover {
    color: #12416D;
}

nav ul {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0;
}

ul li {
    flex-grow: 1;
    text-align: center;
}

ul li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-weight: bold;
    font-size: 15px
    /*color: #12416D;*/
}

/* Ajuste de la línea vertical */
.vertical-divider {
  border-left: 5px solid #ccc;
  height: 300px; /* Ajusta la altura según convenga */
  margin: 0 auto;
}

/* Opciones: texto un poco más pequeño */
.options-section h5 {
  font-size: 30px;
  margin-bottom: 10px;
}

/* Opcional: Quitar el estilo por defecto de la lista si prefieres algo más sencillo */
.options-section ul {
  margin: 0;
  padding: 0;
}

.options-section ul li.collection-item {
  padding: 4px 8px;
  font-size: 10px !important; /* Letra mucho más pequeña */
  border: none !important; /* Quita todos los bordes */
  border-bottom: 1px solid #ccc !important; /* Solo borde inferior */
  background-color: transparent !important; /* Opcional: fondo transparente */
}

.collection {
    border: none !important;
}

.justified-text {
  text-align: justify;
  font-size: 18px;
}


.container {
    max-width: 70%;
}

.title-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 35px;
}

.title-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
}

.title-text h1 {
    margin: 0;
    line-height: 0.9;
    text-align: left;
}

.yellow-text {
    color: #F8AD2A;
    font-size: 2.5rem;
    font-weight: bold;
}

.blue-teal-text {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.blue-text {
    color: #12416D;
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 1rem;
}

.teal-text {
    color: #2D8598;
    font-size: 2.0rem;
    font-weight: bold;
}

.vertical-line {
    width: 1px;
    background-color: #ccc;
    margin: 0 20px;
    border: solid;
    color: gray;
    height: 120px;
}

.card {
    border-radius: 15px; /* Redondea el contenedor de la tarjeta */
    overflow: hidden; /* Asegura que el contenido no sobresalga del contenedor redondeado */
    transition: box-shadow 0.3s ease-in-out; /* Añade un efecto al pasar el mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Incrementa la sombra al pasar el mouse */
}

.card-image img {
    border-radius: 15px; /* Redondea las imágenes */
    transition: transform 0.3s ease, filter 0.3s ease; /* Añade un efecto suave al pasar el mouse */
}

.card:hover .card-image img {
    transform: scale(1.05); /* Aumenta ligeramente el tamaño de la imagen */
    filter: brightness(0.8); /* Oscurece ligeramente la imagen */
}

.card-content {
    border-radius: 15px; /* Redondea el contenedor del texto */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente para el texto */
    color: #fff;
    opacity: 0; /* Oculta el texto inicialmente */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: opacity 0.3s ease-in-out;
}

.card:hover .card-content {
    opacity: 1; /* Muestra el texto al pasar el mouse */
}

.row .col {
    padding: 10px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 20px auto;
    width: 70%;
    /*max-width: 1200px;*/
    gap: 15px;
}

.carousel-item {
    position: relative;
    overflow: hidden;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    border-radius: 10px;
}

.carousel-main {
    flex: 0 0 66.666%;
    height: 400px;
}

.carousel-secondary {
    flex: 0 0 33.333%;
    height: 400px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out; /* Agrega transición para suavizar el cambio */
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 0px;
    left: 66.5%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.button-wrapper {
    position: relative;
    width: 100px; /* Tamaño del fondo de la imagen */
    height: 100px;
    background-size: cover; /* Asegura que la imagen cubra todo el área */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-wrapper.prev {
    background-image: url("img/bg-nav-carousel.svg"); /* Imagen para el botón anterior */
    position: absolute;
    bottom: -8px;
    right: 2px;
}

.button-wrapper.next {
    background-image: url("img/bg-nav-carousel-single.svg"); /* Imagen para el botón siguiente */
    position: absolute;
    bottom: -8px;
    left: 5px;
}

.border-next {
    border-radius: 0px 10px 10px 0px;
    left: -4px;
}

.border-prev {
    border-radius: 10px 0px 0px 10px;
    right: -4px;
}

.carousel-controls button {
    position: absolute; /* Posiciona el botón encima del contenedor */
    background: none; /* Sin fondo para el botón */
    color: #333; /* Color del texto del botón */
    cursor: pointer;
    z-index: 2; /* Asegura que el botón esté encima de la imagen */
    transition: transform 0.3s;
    bottom: 15px;
    border: solid 1px;
    font-size: 30px;
    width: 40px;
    border-color: #2d8598;
}

.carousel-controls button:hover {
    transform: scale(1.2); /* Efecto de ampliación al pasar el cursor */
    background-color: #2d8598; /* Relleno en hover */
    color: white; 
}

.carousel-text {
    position: absolute;
    bottom: -30px; /* Comienza debajo de la imagen */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: bottom 1.5s ease-out, opacity 1.5s ease-out;
}

.carousel-text.show {
    bottom: 150px;
    opacity: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

.content-below {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 74%;
    padding: 0 20px;
    margin: 0 auto; /* Ajuste para que se ajuste al ancho del body */
}

.column {
    display: flex;
    flex-direction: column;
}

.text {
    width: 40%;
}

.explore {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.explore button {
    background-color: #00796b; /* Teal fuerte */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.explore button i {
    font-size: 20px; /* Tamaño del icono */
    margin-right: 5px;
}

.explore button:hover {
    background-color: #004d40; /* Teal oscuro */
}

.carousel-text-overlay {
    position: absolute;
    bottom: -40px; /* Ajusta para posicionar */
    transform: translateX(-50%);
    text-align: left;
    z-index: 10;
    left: 200px;
}

.carousel-text-overlay p {
    margin: -20px 0; /* Espaciado entre líneas */
    font-family: 'Roboto', sans-serif;
}

.line1 {
    font-size: 75px; /* Tamaño de la fuente */
    color: rgba(240, 255, 255); /* Color teal transparente */
    font-weight: bold;
}

.line2 .project {
    font-size: 40px; /* Tamaño de la fuente */
    color: rgba(144, 210, 210, 0.7); /* Color teal más fuerte */
    font-weight: bold;
}

.line2 .integrator {
    font-size: 50px; /* Tamaño de la fuente */
    color: rgba(95, 204, 204); /* Color teal más alto */
    font-weight: bold;
}

/*reel clientes*/

.container-reel {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn-reel 1s ease-in-out;
    margin-top: 20px;
    padding: 20px;
    height: 120px;
}

.text-column-reel {
    width: 30%;
    padding: 20px;
    transition: background 0.3s ease;
    text-align: center;
}

.text-column-reel:hover {
    background: #e3e8ed;
}

.text-column-reel h5 {
    font-weight: bold;
    color: #12416D;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.text-column-reel h5 i {
    color: #F8AD2A;
    font-size: 28px;
}

.text-column-reel p {
    font-size: 18px;
    color: #2D8598;
    font-style: italic;
    animation: fadeIn 1.5s ease-in-out;
}

.reel-column-reel {
    width: 70%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.reel-reel {
    display: flex;
    animation: slide-reel 15s infinite linear;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
}

.reel-reel img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.reel-reel img:hover {
    transform: scale(1.1);
}

@keyframes slide-reel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeIn-reel {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media only screen and (max-width: 600px) {
    .row .col {
        width: 100%;
    }
}

@media only screen and (max-width: 992px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        width: 100%;
        margin-top: 10px;
    }

    .container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
  header .container-custom {
    flex-direction: column;
  }

  header nav {
    margin-top: 15px;
  }
}