@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

body{
  min-height: 100vh;
  background-color: 
  #f8f8f8;
}
header .brand img{
  height: 80px;
}


.section-main h1{
  color: 
  #f8f8f8;
  font-size: 60px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 80px;
  text-shadow: 0 0 3px #fff, 0 0 3px #000000;
}

header{
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  transition: 0.6s;
}

header.down{
  background: #919191;
  padding: 15px 80px;
}

header .brand{
  color: #ffffff;
  font-size: 20px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}

header .menu{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .menu ul{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .menu ul li{
	list-style: none;
}

header .menu a{
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: px;
  font-weight: 500;
  text-decoration: none;
  margin: 0 30px;
  padding: 7px 12px;
  border-radius: 20px;
  transition: 0.3s;
  transition-property: color, background;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
}

header .menu a:hover{
  color: #000000;
  
}

.section-two{
  padding: 20px;
}

header .btn{
  color: #fff;
  font-size: 25px;
  cursor: pointer;
  display: none;
}

@media (max-width: 991px){
  header, header.down{
  	padding: 20px 40px;
  }
  header .btn{
    display: block;
  }

  header .menu{
    position: fixed;
    background: #919191;
    min-width: 330px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 80px 50px;
    transition: 0.5s;
    transition-property: right;
    
  }

  header .menu ul{
	  flex-direction: column;
	}

  header .menu.active{
    right: 0;
  }

  header .menu .close-btn{
    position: absolute;
    top: 0;
    left: 0;
    margin: 25px;
  }

  header .menu a{
    display: block;
    font-size: 20px;
    margin: 20px;
    padding: 0 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
  }
}

@media (max-width: 600px){
  .section-main h1{
    font-size: 50px;
    line-height: 60px; 
  }
}

.inicio01 {
  position: relative;;
  height: 500px; /* Altura total de la pantalla */
  width: 100%;
  margin: 0; /* Asegúrate de eliminar márgenes */
  padding: 0; /* Asegúrate de eliminar el padding */
  overflow: hidden; /* Asegura que el contenido no se desborde */
}

#videoFondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que el video cubra toda la sección */
  z-index: -2; /* Detrás del texto y el overlay */
  margin: 0; /* Eliminar márgenes */
  padding: 0; /* Eliminar padding */
  border: none; /* Si tiene bordes, eliminarlos */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
  z-index: -1; /* Entre el video y el texto */
}

.texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  max-width: 80%; /* Limitar el ancho del texto */
  opacity: 0;
  animation: slideIn 2s ease-out forwards;
  
}

.texto p {
  margin: 0 0;
  font-family: "Poppins", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Añade sombra al texto para mejor legibilidad */
  font-size: 20px;
  color: #ffffff;
}


.texto h1{
  font-size: 50px;
  font-family: "Poppins", serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}
  
  




/* Animación para que el texto entre desde la derecha */
@keyframes slideIn {
  from {
      transform: translate(100%, -50%);
      opacity: 0;
  }
  to {
      transform: translate(-50%, -50%);
      opacity: 1;
  }
}

/* Ajuste en dispositivos móviles para reducir la altura */
@media (max-width: 768px) {
  #videoFondo {
      max-height: 50vh; /* Reducir la altura máxima a 50% de la ventana gráfica en dispositivos móviles */
  }
  
  .texto {
      top: 40%; /* Ajustar el texto para estar más centrado */
      font-size: 1rem; /* Reducir el tamaño del texto */
  }
}








.parallax-section {
    background-image: url('/img/construction-site-silhouettes.jpg');
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }
  
  .content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    color: white;
  }
  
  .icon {
    text-align: center;
  }
  
  .icon i {
    font-size: 25px; /* Tamaño del icono */
    color: white; /* Color personalizado */
    margin: 10px 20pxs;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
  }
  
  .icon p {
    font-size: 25px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
  }
  
  section.section032 {
    background-color: #919191; /* Fondo oscuro */
    color: white; /* Texto en blanco */
    padding: 40px; /* Espacio interno */
    display: flex; /* Usamos flex para alineación horizontal */
    justify-content: space-around; /* Espacio igual entre los items */
    text-align: center; /* Centramos el texto */
   
  }
  
  .stat-item {
    margin: 0 20px; /* Separación entre los elementos */
  }
  
  .counter {
    font-size: 3em; /* Tamaño grande del número */
    font-weight: bold; /* Negrita para resaltar los números */
    color: white; /* Color rojo */
    display: block; /* Para que el número esté encima del texto */
  }
  
  p {
    font-size: 1.2em; /* Tamaño del texto */
    margin-top: 10px; /* Espacio entre número y texto */
  }



















  h2 {
    text-align: center;
    color: #333;
}

.section-2032 {
    padding: 20px;
    overflow: hidden;
}

.sectors-container {
  display: flex;
  justify-content: space-between; /* Espaciado entre los íconos */
  flex-wrap: wrap; /* Permite que los íconos salten de línea si es necesario */
  gap: 20px; /* Espaciado entre los íconos */
  padding: 20px 0; /* Espaciado interno superior e inferior */
}

.sector-item {
  flex: 1 1 calc(25% - 20px); /* Ajusta el ancho de cada ítem a un 25% del contenedor, con un margen */
  box-sizing: border-box; /* Asegura que el padding y borde no afecten el tamaño */
  text-align: center; /* Alinea el texto en el centro */
  padding: 20px; /* Espaciado interno de cada sector */
  background-color: #fff; /* Fondo blanco para cada tarjeta */
  border-radius: 8px; /* Bordes redondeados */
  transition: transform 0.3s ease; /* Animación suave al hacer hover */
}

.sector-item:hover {
  transform: scale(1.05); /* Efecto de agrandar ligeramente al pasar el mouse */
}

.sector-item i {
    font-size: 50px; /* Tamaño del ícono */
    color: #919191; /* Color del ícono */
}

.sector-item p {
    margin-top: 10px;
    color: #919191;
    font-weight: bold;
}

.section-2032.active .sector-item {
    opacity: 1;
    transform: translateX(0);
}

.section-2032 h2 {
    margin-bottom: 30px;
    font-size: 2em;
    position: relative;
}

.section-2032 h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #919191;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
} 
.sector-item {
  opacity: 0;
  transform: translateX(-100px); /* Comienza fuera del viewport, a la izquierda */
  transition: transform 1s ease-out, opacity 1s ease-out; /* Aumenta la duración a 1s */
}

.sector-item.appear {
  opacity: 1;
  transform: translateX(0); /* Se mueve a su posición normal */
}
.sector-item {
  opacity: 0;
  transform: translateX(-100px); /* Comienza fuera del viewport */
  transition: transform 1s ease-out, opacity 1s ease-out;
  transition-delay: calc(var(--order) * 0.1s); /* Añade un retraso para cada ícono */
}

.sector-item.appear {
  opacity: 1;
  transform: translateX(0);
}





.footer {
  position: relative;
  width: 100%;
  background: #919191;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px 5px;
  flex-wrap: wrap;
}

.icon-elem {
  list-style: none;
}

.icon {
  color: white;
  font-size: 32px;
  display: inline-block;
  margin: 0 10px;
  transition: 0.5s;
}

.icon:hover {
  transform: translateY(-10px);
}

.menu {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.menu-elem {
  list-style: none;
}
.menu-icon {
  color: white;
  font-size: 20px;
  display: inline-block;
  text-decoration: none;
  margin: 5px 10px;
  opacity: 0.5;
  transition: 0.3s;
}

.menu-icon:hover {
  opacity: 1;
}

.text {
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 20px;
}








/* Estilo para el botón flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
}



















/* Contenedor del carrusel */
.carousel-container {
  overflow: hidden; /* Oculta las imágenes fuera del contenedor */
  width: 100%;
  position: relative;
}

/* Carrusel que contiene las imágenes */
.carousel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  animation: slide 10s linear infinite; /* Animación más rápida */
}

/* Estilos para las imágenes más grandes */
.carousel img {
  width: 400px; /* Tamaño más grande */
  height: 250px;
  object-fit: cover;
  margin-right: 20px;
}

/* Animación para que el carrusel se mueva de forma continua */
@keyframes slide {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%); /* Se mueve a la mitad del contenido */
  }
}

/* Responsivo: ajustar imágenes y margenes en dispositivos más pequeños */
@media (max-width: 768px) {
  .carousel img {
      width: 100%;
      height: auto;
  }
}


/* Animación para que las imágenes aparezcan desde la izquierda */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateX(-50%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Asegurar que las imágenes aparezcan progresivamente al cargarse */
.carousel img:nth-child(1) {
  animation-delay: 0.5s;
}

.carousel img:nth-child(2) {
  animation-delay: 1.5s;
}

.carousel img:nth-child(3) {
  animation-delay: 2.5s;
}

.carousel img:nth-child(4) {
  animation-delay: 3.5s;
}

/* Responsivo: ajustar imágenes y margenes en dispositivos más pequeños */
@media (max-width: 768px) {
  .carousel img {
      width: 100%;
      height: auto;
  }
}













.inicio03 {
  position: relative;
  height: 300px; /* Aumenta la altura de la sección */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inicio03 .contenido {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000000;
  animation: fadeInUp 1.5s ease-out;
  
}

.inicio03 h1, .inicio03 p, .inicio03 .btn {
  opacity: 0; /* Empieza invisible */
  animation: fadeInUp 1.5s ease-out forwards;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
}

.inicio03 h1 {
  animation-delay: 0.5s; /* El título aparece primero */
  font-size: 40px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
  
}

.inicio03 p {
  animation-delay: 1s; /* El párrafo aparece después */
  margin-bottom: 30px;
  font-size: 30px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)
}

.inicio03 .btn {
  animation-delay: 1.5s; /* El botón aparece al final */
  padding: 15px 25px;
  background-color: #919191; /* Fondo blanco para destacar como botón */
  color: #fff; /* Color del texto */
  border-radius: 5px; /* Bordes redondeados */
  text-decoration: none; /* Elimina el subrayado */
  font-weight: bold; /* Hace el texto más llamativo */
  transition: all 0.3s ease; /* Transición suave al hacer hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra del botón */
  
}

.inicio03 .btn:hover {
  background-color: #333; /* Cambia el color de fondo al pasar el ratón */
  color: #ffffff; /* Cambia el color del texto */
  transform: translateY(-3px); /* Mueve ligeramente el botón hacia arriba */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Aumenta la sombra al hacer hover */
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%; /* Aumenta el tamaño del video */
  height: 110%; /* Aumenta el tamaño del video */
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover; /* Asegura que el video cubra todo el área */
  opacity: 0.8; /* Opacidad del video */
}

/* Animación de aparecer de abajo hacia arriba */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(100px); /* Comienza 100px más abajo */
  }
  100% {
      opacity: 1;
      transform: translateY(0); /* Termina en su posición original */
  }
}



























/* Estilos generales */
.inicio05 {
  background-color: #ffffff;
  color: white;
  text-align: center;
  padding: 20px;
}

.inicio05 h2 {
  font-size: 50px;
  margin-bottom: 40px;
  margin-top: 60px;
  color: #919191;

  
}

/* Contenedor principal */
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Para que sea responsive */
}

/* Video */
.video-container {
  flex: 1 1 300px; /* Toma espacio según sea necesario */
}

.video-container video {
  width: 100%;
  border-radius: 10px;
}

/* Galería de fotos */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1 1 300px;
  margin-left: 8%;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 300px;
  height: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 30px 30px;
}

.photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s; /* Agregamos una transición para el efecto */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; /* Asegura que esté sobre la imagen */
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

/* Efecto de hover en la foto */
.photo:hover .overlay {
  opacity: 1;
}

.photo:hover img {
  transform: scale(1.1); /* Aumenta la imagen al pasar el mouse */
}

.photo:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Botón Ver Más */
.button-container {
  margin-top: 20px;
}

.button-container a{
  text-decoration: none;
  color: #fff;
}
.button-container a:hover{
  color: #000000;
}

.button-container button {
  background-color: #919191;
  color: white;
  border: none;
  padding:20px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 19px;
  
}
.button-container button:hover {
  background-color: #ffffff; /* Cambia el color de fondo al pasar el ratón */
  color: #000000; /* Cambia el color del texto */
  transform: translateY(-3px); /* Mueve ligeramente el botón hacia arriba */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Aumenta la sombra al hacer hover */
}


/* Responsive */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .content {
    flex-direction: column; /* Cambia a una sola columna */
  }
}


























/*Cards*/
.container-card{
	width: 100%;
	display: flex;
	max-width: 80%;
	margin: auto;
}
.title-cards{
	width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 30px;
	margin-top: 20px;
	text-align: center;
	color: #7a7a7a;
}
.card{
	width: 100%;
	margin: 10px;
	border-radius: 6px;
	overflow: hidden;
	background:#fff;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
	transition: all 400ms ease-out;
	cursor: default;
}
.card:hover{
	box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
	transform: translateY(-3%);
}
.card img{
	width: 100%;
	height: 300px;
}
.card .contenido-card{
	padding: 15px;
	text-align: center;
}
.card .contenido-card h3{
	margin-bottom: 15px;
	color: #7a7a7a;
}
.card .contenido-card p{
	line-height: 1.8;
	color: #919191;
	font-size: 14px;
	margin-bottom: 5px;
}
@media only screen and (min-width:320px) and (max-width:768px){
	.container-card{
		flex-wrap: wrap;
    
    
	}
	.card{
		margin: 15px;
    
	}
}
/*Fin-Cards*/


















.contact-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto; /* Centrar horizontalmente */
  }
  
  .content-container {
    margin: auto;
  }
  
  .contact-section h2 {
    color: #00285e;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
  }
  
  .contact-item i {
    font-size: 24px;
    color: #00285e;
    margin-right: 15px;
  }
  
  .contact-item p {
    font-size: 16px;
    margin: 0;
  }
  
  .logo {
    width: 150px;
    height: auto;
    margin-top: 20px;
  }