/* Sección de portada - index1 */
.index1 {
  background: linear-gradient(135deg, #0a1f33, #1f3b5c);
  color: white;
  width: 100%;
  min-height: 90vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Contenedor principal centrado */
.index1-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Logo */
.index1-logo img {
  max-width: 180px;
  height: auto;
}

/* Título principal que describe la página */
.index1-text h1 {
  font-size: 3em;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}

/* Colores del texto */
.index1-text .azul {
  color: #007bff;
}

.index1-text .celeste {
  color: #00cfff;
}

/* Responsive: tablets y móviles */
@media (max-width: 768px) {
  .index1 {
    padding: 40px 20px;
  }

  .index1-logo img {
    max-width: 140px;
  }

  .index1-text h1 {
    font-size: 1.8em;
  }
}

/* Responsive para pantallas grandes */
@media (min-width: 1920px) {
  .index1 {
    padding: 80px 0;
    min-height: 100vh;
  }

  .index1-text h1 {
    font-size: 4em;
  }

  .index1-logo img {
    max-width: 220px;
  }
}

.index2 {
    background: linear-gradient(135deg, #f0f6ff 0%, #e6f0ff 50%, #f8fbff 100%);
    padding: 10px 0 30px 0; 
    margin: 0; 
}

.index3 {
    background-color: white; 
    padding: 20px 0;
    text-align: left; 
}

.index4 {
    background: linear-gradient(to bottom, #007bff, #cceeff); 
    padding: 10px 0 30px 0; 
    margin: 0;
}

/* Estilo del contenedor de las cartas */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacio entre las cartas */
    flex-wrap: wrap; /* Permite que las cartas se ajusten en pantallas pequeñas */
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 10px;
    align-items: left;
}

/* Estilo de la carta */
.card2 {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 80%; 
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 10px;
    align-items: center;
    height: 80%;
}

.card-icon {
    font-size: 3em;
    color: #1E90FF; /* Color celeste para el ícono */
    margin-bottom: 10px; /* Espacio entre el ícono y el título */
}

.card-title {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px; /* Espacio entre el título y el párrafo */
    font-weight: bold; /* Pone el texto en negrita */
}

.card-title4 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px; 
    font-weight: bold; 
    text-align: center;
}

/* Estilo del contenido de la carta */
.card-content p {
    font-size: 1em;
    color: #333;
    margin: 0;
}
.card-content2 p {
    font-size: 1em;
    color: #333;
    margin: 0;
    text-align: center;
}

.card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #00cfff;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}


/* Estilo de la imagen */
.card-image img {
    width: 100%; /* Ajusta la imagen al ancho del contenedor */
    height: 100%; /* Ajusta la imagen al alto del contenedor */
    object-fit: cover; /* Mantiene la proporción de la imagen y cubre el contenedor */
}

/* Estilos para el carrusel */
.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Desliza con suavidad */
    width: 100%;
}

.carousel-item {
    flex: 0 0 33.33%; /* Cada item ocupa el 33.33% */
    box-sizing: border-box;
    padding: 0 4%; /* Espaciado entre las tarjetas */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.index2-content, .index3-content, .index4-content {
    margin: 0;
    padding: 0;
}

.index2 h2 {
    text-align: center;
    color: #003f8c;
    padding: 3% 20% 3% 20%;
}

.index2 p, .index3 p{
    text-align: center;
    font-size: 1.5em;
    color: #333;
    padding: 0 10% 30px 10%;
}

.index3 h1 {
    text-align: center;
    color: #333;
    padding: 0 20% 20px 20%;
}

.index3 p {
    text-align: left;
    color: #333;
}

.index4 h2 {
    text-align: center;
    color: #d0e8ff;
    padding: 3% 20% 3% 20%;
}

.index4 h3 {
    text-align: left;
}

.index2 h2, .index3 h1, .index4 h2 {
    font-size: 2.4em;
}

.swiper-container {
    width: 90%; 
    max-width: 1200px; 
    height: 75px;
    margin: 60px auto; 
    overflow: hidden; 
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23%; 
    box-sizing: border-box;
    padding: 0 10px; 
}

.swiper-slide img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    transition: transform 0.3s ease-in-out;
    border-radius: 10px; 
    display: block; 
}

.swiper-slide-prev, .swiper-slide-next {
    transform: rotateY(20deg);
}

.swiper-slide-active {
    transform: translateZ(0);
    z-index: 10;
}

.swiper-pagination {
    display: none;
}

.image-container {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    height: 200px;
    justify-content: center;
    align-items: center;
}

.image-set {
    position: absolute;
    display: flex;
    justify-content: space-around; 
    align-items: center;
    width: 90%;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    border-radius: 10px;
}

.image-set.active {
    opacity: 1; 
}

.image-container img {
    max-width: 30%; 
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.terminos {
    margin: 7% auto;
    padding: 15px 30px 15px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 80%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.terminos h2 {
    margin-bottom: 20px;
    font-weight: bold;
    color: #0d6efd;
    text-align: left;
    font-size: 1.5rem;
}

.terminos h4 {
    margin-bottom: 20px;
    font-weight: bold;
    color: black;
    text-align: left;
    font-size: 1.2rem;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #1976d2, #2196f3);
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    background-size: 200%;
    background-position: left;
    transition: background-position 0.4s ease, transform 0.2s ease;
}

.btn:hover {
    background-position: right;
    transform: scale(1.05);
}


.message {
    background-color: white;
    color: #333;
    padding: 30px;
    margin: 40px auto; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.7rem;
    text-align: center; 
}

.message p {
    margin: 0 auto; 
    width: 80%; 
    line-height: 1.8; 
}


@media (max-width: 780px) {
    .index2 h2, .index3 h1, .index4 h2  {
        font-size: 1.8em; 
        padding: 0 5% 10px 5%;

    }

    .index2 p {
        font-size: 1.1em; 
        padding: 0 3% 20px 3%;
    }

    .cards-container {
        flex-direction: column; /* Coloca las cartas en una columna */
        align-items: center; /* Centra las cartas horizontalmente */
        gap: 20px; /* Espacio entre las cartas */
    }

    .card, .card2{
        max-width: 80%; /* Ajusta el ancho máximo de las cartas para pantallas pequeñas */
        margin: 10px 0;
        height: 80%; /* Añade separación arriba y abajo de las cartas */
    }

    .card-title, .card-title4 {
        font-size: 1.4em; /* Ajusta el tamaño de la fuente del título en pantallas pequeñas */
    }

    .card-content p {
        font-size: 0.9em; /* Ajusta el tamaño de la fuente del contenido en pantallas pequeñas */
    }

    .card-content2 p {
        font-size: 0.9em; /* Ajusta el tamaño de la fuente del contenido en pantallas pequeñas */
    }

    .image-container img {
        max-width: 25%; /* Ajusta el tamaño de las imágenes */
    }

    .image-container {
        max-width: 1000px; /* Ajusta el ancho máximo según necesites */
        height: 120px; /* Ajusta la altura según el tamaño de las imágenes */
    }

    .carousel-item {
        flex: 0 0 100%; /* Cada item ocupa el 100% */
        padding: 0 25%; /* Espaciado entre las tarjetas */
    }

    .terminos {
        margin: 15% auto;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        padding: 0 20%; /* Espaciado entre las tarjetas */
    }

    .terminos {
        margin: 20% auto;
    }
}

/* Estilos para pantallas grandes */
@media (min-width: 1920px) {
    .index1 h1 {
        font-size: 3.5em; 
    }

    .index2 h2, .index3 h1, .index4 h2  {
        font-size: 3.5em; 

    }

    .index1-text p {
        font-size: 2em; /* Aumenta un poco el tamaño del texto */
    }

    .index2 p {
        font-size: 3em; /* Aumenta un poco el tamaño del texto */
    }

    .card{
        max-width: 40%; /* Ajusta el ancho máximo de las cartas para pantallas pequeñas */
    }

    .card-title, .card-title4 {
        font-size: 2em; /* Ajusta el tamaño de la fuente del título en pantallas pequeñas */
    }

    .card-content p {
        font-size: 2em; /* Ajusta el tamaño de la fuente del contenido en pantallas pequeñas */
    }

    .card-content2 p {
        font-size: 2em; 
    }

    .terminos {
        margin: 5% auto;
    }

    .index1-text .logo {
        max-width: 100%;
        height: auto; 
        min-height: 200px; 
        padding: 20px 0;
    }

    .index1 {
        padding: 50px 0; 
        width: 100%; 
        height: 600px; 
    }

    .message p {
        font-size: 2em;
    }

    .button-container .btn {
        font-size: 1.5rem; 
    }
}

.eset {
  background-color: #F4F9FB;
  padding: 100px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.eset-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.eset-text {
  flex: 1 1 500px;
}

.eset-text h2 {
  color: #007A99;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.eset-text p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
}

.eset-text ul {
  list-style: disc;
  padding-left: 20px;
  color: #333;
  font-size: 1rem;
  margin-bottom: 30px;
}

.eset-btn {
  display: inline-block;
  background-color: #0077A3; 
  color: #ffffff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 119, 163, 0.3);
}

.eset-btn:hover {
  background-color: #005F80;
}


.eset-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.eset-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .eset-text h2 {
    font-size: 2rem;
  }

  .eset-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1920px) {
  .eset-text h2 {
    font-size: 3rem;
  }

  .eset-text p,
  .eset-text ul {
    font-size: 1.3rem;
  }

  .eset-btn {
    font-size: 1.1rem;
    padding: 16px 36px;
  }

  .eset-image img {
    max-width: 600px;
  }
}


.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.develop {
  background: linear-gradient(to bottom, #e0e0e0, #ffffff);
  padding: 100px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.develop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.develop-image {
  flex: 1 1 450px;
  display: flex;
  justify-content: center;
}

.develop-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  height: auto;
}

.develop-text {
  flex: 1 1 500px;
}

.develop-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
  text-align: left;
}

.develop-text .intro {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #444;
}

.develop-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.develop-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

.develop-btn {
  display: inline-block;
  background-color: #003366;
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.develop-btn:hover {
  background-color: #001f4d;
}

@media (max-width: 1024px) {
  .develop-text h2 {
    font-size: 2rem;
  }

  .develop-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (min-width: 1920px) {
  .develop-text h2 {
    font-size: 3rem;
  }

  .develop-text p {
    font-size: 1.2rem;
  }

  .develop-btn {
    font-size: 1.1rem;
    padding: 16px 36px;
  }

  .develop-image img {
    max-width: 600px;
  }
}

/* Reutilizamos las animaciones */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

