.main {
    width: 100%;
    height: 30vh;
    display: block;

}

.text{  
    z-index: 2;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text h3{
    font-size: 40px;
    line-height: 50px;
    font-weight: 800;
    margin: 0;
    color: #00939c;
}

.text p{
    padding: 0 0px;
    font-size: 15px;
    color: #a0a0a0;
}


.projects-container {
    background: white;
    margin: 0px auto;
    width: 65%;
    margin-top: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 50px;
}

.projects-grid a{
    text-decoration: none;
}

  .project {
      text-align: left;
      box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.05), -7px -7px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.project:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -2px -2px 15px rgba(0, 0, 0, 0.05);
}

.project img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    display: block;
}

.projects-grid .project h4,
.project .contenido{
    align-self: start;
    padding: 0px 25px 0px 25px; 
}

.project .contenido{
    color: black;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.projects-grid .project h4{
    text-align: left;
    color: #00939c;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    margin-top: 25px;
}

.project span{
    font-weight: 600;
    font-size: 16px;
    color: #065597;
    text-transform: uppercase;
}

.projects-container .project p{
    font-size: 12px;
    margin: 0;
    text-align: left;
}

.projects-container .proyectos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 200px;
    padding: 0;
}

.projects-container .proyectos p{
    padding: 90px 0 10px;
    text-align: center;
    max-width: 60%;
    font-weight: 500;
}


.ver-mas {
    display: flex; /* Permite alineación interna */
    justify-content: center; /* Centra el contenido horizontalmente */
    font-size: 15px;
    color: #a0a0a0;
    position: relative;
    cursor: pointer;
    letter-spacing: 1px;
    padding: 10px 0; /* Espaciado arriba y abajo */
    transition: color 0.3s ease;
    text-decoration: none;
    width: 100%; /* O ajustarlo según el diseño */
    margin-bottom: 20px;
    margin-top: 20px;
  }


  .project {
    display: flex;
    flex-direction: column;
    align-items: center; /* Asegura que los elementos dentro estén centrados */
    text-align: center;
  }
  
  .ver-mas:hover {
    color: #0078A8;
  }
  
  .ver-mas a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }
  
  svg {
    width: 10px;
    height: auto;
    margin-left: 8px;
    cursor: pointer;
    overflow: visible;
    fill: #a0a0a0;
  }
  
  
  svg polygon,
  svg path {
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    fill: #a0a0a0;
  }
  
  .ver-mas:hover svg polygon,
  .ver-mas:hover svg path {
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
    fill: #0078A8;
  }
  
  .ver-mas:hover svg .arrow {
    animation: arrow-anim 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
  }
  
  .ver-mas:hover svg .arrow-fixed {
    animation: arrow-fixed-anim 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
  }
  
  
  @keyframes arrow-anim {
    0% {
      opacity: 1;
      transform: translateX(0);
    }
    5% {
      transform: translateX(-0.1rem);
    }
    100% {
      transform: translateX(1rem);
      opacity: 0;
    }
  }
  
  @keyframes arrow-fixed-anim {
    5% {
      opacity: 0;
    }
    20% {
      opacity: 0.4;
    }
    100% {
      opacity: 1;
    }
  }
  
  


  @keyframes arrow-anim {
    0% {
      opacity: 1;
      transform: translateX(0);
    }
    5% {
      transform: translateX(-0.1rem);
    }
    100% {
      transform: translateX(1rem);
      opacity: 0;
    }
  }
  
  @keyframes arrow-fixed-anim {
    5% {
      opacity: 0;
    }
    20% {
      opacity: 0.4;
    }
    100% {
      opacity: 1;
    }
  }
  


@keyframes arrow-anim {
	0% {
		opacity: 1;
		transform: translateX(0);
	}
	5% {
		transform: translateX(-0.1rem);
	}
	100% {
		transform: translateX(1rem);
		opacity: 0;
	}
}

@keyframes arrow-fixed-anim {
	5% {
		opacity: 0;
	}
	20% {
		opacity: 0.4;
	}
	100% {
		opacity: 1;
	}
}


@media screen and (max-width: 800px){
    .projects-container {
        width: 70%;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        margin-top: 40px;
    }
    

.projects-container .proyectos p{
    padding: 50px 0 10px;
    text-align: center;
    max-width: 90%;
    font-weight: 400;
}
}


@media screen and (max-width: 800px){
    .text{  
        top: 30%;
    }
}

@media screen and (max-width: 400px){
    .text{  
        top: 40%;
    }
}


@media screen and (max-width: 400px){}
@media screen and (max-width: 800px){}
@media screen and (max-width: 1030px){}
@media screen and (max-width: 1500px){}


.proyectos{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.proyectos .titulo h2{
  text-align: center;
  font-weight: 500;
  margin-top: 200px;
  margin-bottom: 60px;
}

.proyectos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    max-width: 90%;
    margin-bottom: 200px;
}

.container {
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center; /* Centra el contenido verticalmente */
    max-width: 100%;
}

.container.second{
  flex-direction: row-reverse;
}

.splide {
    width: 550px; /* Ajusta el ancho del contenedor de la imagen o slider */
    height: 450px; /* Mantiene la altura proporcional al contenido */
    margin: 0 auto; /* Centra el contenedor horizontalmente */
    display: flex; /* Asegura que el contenedor sea flexible para alinear contenido */
    justify-content: center; /* Centra el contenido dentro de .splide */
    align-items: center; /* Alinea el contenido verticalmente */
    z-index: 1;
    position: relative;
}

.splide img {
    width: 100%; /* La imagen se ajusta al ancho del contenedor */
    height: auto; /* La altura de la imagen se ajusta proporcionalmente */
    object-fit: cover; /* Asegura que la imagen cubra completamente el área del contenedor sin distorsionarse */
    transition: transform 0.3s ease; /* Transición suave para efectos de zoom o movimiento */
}

.splide img:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el ratón sobre la imagen */
}



.info-card{
    background-color: white;
    height:280px;
    z-index: 4;
    margin-left: -80px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.1);
}

.info-card .content{
  margin: 0 120px;
  gap: 0;
  width: 800px;
}

.container.second .info-card{
  margin-left: 0px;
  margin-right: -80px;
  box-shadow: -10px 10px 12px rgba(0, 0, 0, 0.1);
}


/* Estilo general para la paginación de Splide */
.splide__pagination {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1000 !important;
  flex-direction: row;
}


/* Estilo de los botones de paginación */
.splide__pagination__page {
    width: 20px; /* Ajusta el tamaño de los botones */
    height: 20px;
    margin: 0 5px;
    border-radius: 50%; /* Hace que los botones sean circulares */
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer; /* Cursor de mano cuando pasa sobre el botón */
}

/* Efecto hover para los botones de paginación */
.splide__pagination__page:hover {
    background-color: #00939c; /* Cambia el color al pasar el ratón */
    transform: scale(1.05); /* Efecto de ampliación al hacer hover */
}

/* Estilo para el botón activo de la paginación */
/* Estilo para el botón activo de la paginación */
.splide__pagination__page.is-active {
    background-color: #00939c; /* Color alternativo para el botón activo */
}

/* Si el color activo no debe ser blanco, puedes también probar con un color dinámico */
.splide__pagination__page.is-active:not([style*="background-color: white"]) {
    background-color: #00939c; /* Este es un color de ejemplo, puedes cambiarlo */
}


/* Estilo para el botón deshabilitado (si es necesario) */
.splide__pagination__page.is-disabled {
    background-color: #a0a0a0; /* Color de fondo de los botones deshabilitados */
    pointer-events: none; /* Desactiva la interacción con el botón */
}


.content h3{
  color: #065597;
}

.content h2{
  color: #00939c;
  font-size: 14px;
  text-align: left;
}

.content span{
  color: #065597;
}

.galerias{
  margin-bottom: 80px;
}

.galerias h1{
  text-align: center;
  font-weight: 500;
  margin-bottom: 60px;
}

.gallery-grid h2{
  margin-left: 240px;
  font-weight: 700;
  color: #065597;
  text-transform: uppercase;
  font-size: 18px;
}

.gallery-grid{
  max-width: 100%;
  padding: 50px 0;
}


.gallery-grid .splide {
    width: 75%; /* Ajusta el ancho del contenedor de la imagen o slider */
    height: 100%; /* Mantiene la altura proporcional al contenido */
    margin: 0 auto; /* Centra el contenedor horizontalmente */
    display: flex; /* Asegura que el contenedor sea flexible para alinear contenido */
    justify-content: center; /* Centra el contenido dentro de .splide */
    align-items: center; /* Alinea el contenido verticalmente */
    z-index: 1;
    position: relative;
    padding: 0 50px; /* Esto empuja el contenido para dejar espacio a las flechas */
}

.gallery-grid .splide img {
    width: 100%; /* La imagen se ajusta al ancho del contenedor */
    height: auo; /* La altura de la imagen se ajusta proporcionalmente */
    object-fit: cover; /* Asegura que la imagen cubra completamente el área del contenedor sin distorsionarse */
    transition: transform 0.3s ease; /* Transición suave para efectos de zoom o movimiento */
}

.gallery-grid .splide img:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el ratón sobre la imagen */
}


.gallery-grid .splide img {
    width: 100%;
    height: 200px;
    display: block;
}

/* Estilo general de las flechas */
.gallery-grid .splide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #a0a0a0;
  border: none;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

/* Al pasar el mouse: zoom + cambio de color */
.gallery-grid .splide__arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: none;
}



@media screen and (max-width: 800px){

  .container {
    display: flex;
    flex-direction: column;
  }

  .container.second{
  flex-direction: column
  }

  .info-card{
    margin-left: 0px;
}

.info-card .content{
  margin: 0 120px;
  gap: 0;
  width: 400px;
    text-align: center;
}

.container.second .info-card{
  margin-right: 0px;
    text-align: center;
}

.gallery-grid h2{
  text-align: center;
  margin-left: 0px;
}

.text{  
    top: 35%;
}

.content h2{
  color: #00939c;
  font-size: 14px;
  text-align: center;
}

}

@media screen and (max-width: 400px){



  .info-card{
    margin-left: 0px;
}

.info-card .content{
  margin: 0 120px;
  gap: 0;
  width: 200px;
}

.container.second .info-card{
  margin-right: 0px;
}

.gallery-grid h2{
  text-align: center;
  margin-left: 0px;
}

.text{  
    top: 35%;
    margin-top: 100px;
}

.projects-grid {
    margin-top: 170px;
}

.splide {
    width: 300px; /* Ajusta el ancho del contenedor de la imagen o slider */
    height: 270px; /* Mantiene la altura proporcional al contenido */
}

.splide img {
    width: 100%; /* La imagen se ajusta al ancho del contenedor */
    height: auto; /* La altura de la imagen se ajusta proporcionalmente */
    object-fit: cover; /* Asegura que la imagen cubra completamente el área del contenedor sin distorsionarse */
    transition: transform 0.3s ease; /* Transición suave para efectos de zoom o movimiento */
}

.info-card{
    background-color: white;
    height:500px;
    z-index: 4;
}
}

@media screen and (max-width: 400px){}
@media screen and (max-width: 1030px){

}

@media screen and (max-width: 1500px){

  .info-card .content{
  width: 600px;
}

  .text{  
    top: 28%;
    margin-top: 100px;
}
}







