/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
  /* Estilos generales del body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
  


/* Estilo para la sección con dos columnas */
.two-column-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 40px;
    gap: 50px;
    background: #f9f9f9;
    border-radius: 10px;
    
}
  
.text-column {
    flex: 1;
    max-width: 50%;
    color: #333;
}
  
.text-column h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #88ec00; /* Un color verde vibrante para llamar la atención */
    text-transform: uppercase;
    letter-spacing: 2px;
}
  
.text-column p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}
  
.text-column .btn {
    padding: 15px 25px;
    background-color: #89ed02;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    
}
  
.text-column .btn:hover {
    background-color: #84c61c;
    
}
  
.image-column {
    flex: 1;
    max-width: 50%;
}
  
.image-column-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    
}
  

  
  /* Estilo responsivo */
@media screen and (max-width: 768px) {
    .two-column-section {
      flex-direction: column;
      align-items: center;
      padding: 90px 20px;
    }
  
    .text-column, .image-column {
      max-width: 100%;
      text-align: center;
    }
  
    .text-column h2 {
      font-size: 2.0rem;
      margin-bottom: 20px;
    }
  
    .text-column p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
  
    .text-column .btn {
      padding: 12px 20px;
      font-size: 1rem;
    }
}

/* Estilos generales para la sección de servicios */
.services-section {
  padding: 80px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000c41; /* Fondo oscuro */
}

.services-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #88ec00;
}

.services-header p {
  font-size: 1.2rem;
  color: #7a1f1f;
}

/* Contenedor del Carrusel */
.carousel-container {
  display: flex;
  gap: 30px;
  overflow: hidden;
  justify-content: center;
  perspective: 1000px; /* Añadir perspectiva para el efecto 3D */
}

.service-card {
  width: 300px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d; /* Necesario para que el giro en 3D funcione */
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
}

.service-card:hover {
  transform: rotateY(180deg); /* Girar la tarjeta al hacer hover */
}

/* Contenido interno de la tarjeta */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Ocultar la parte trasera cuando está girada */
  border-radius: 10px;
}

.card-front {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px;
}

.card-overlay {
  background-color: #88ec00;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  
}

.card-overlay h3 {
  font-size: 1.0rem;
  color: rgb(255, 255, 255);
}

.card-back {
  background-color: #88ec00;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  padding: 20px;
  transform: rotateY(180deg); /* Girar la parte posterior */
}

.card-back p {
  font-size: 1rem;
  text-align: center;
}

/* Estilo para la información expandida */
.expanded-info {
  display: none;
  background-color: #ffffff;
  padding: 40px;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 60%;
  text-align: left;
}

#expanded-title {
  font-size: 2rem;
  color: #ffffff;
}

#expanded-description {
  font-size: 1.1rem;
  color: #ffffff;
}

/* Estilo para los botones de navegación */
.carousel-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.prev-btn, .next-btn {
  padding: 10px 20px;
  background-color: #00c6ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #007bb5;
}

/* Responsividad */

/* Ocultar la sección de servicios en móviles */
@media screen and (max-width: 768px) {
  .services-section {
    display: none; /* Ocultar la sección de servicios cuando la pantalla es pequeña */
  }

  /* Otros estilos responsivos */
  .carousel-container {
    flex-direction: column;
  }

  .service-card {
    width: 80%;
    margin-bottom: 20px;
  }

  .expanded-info {
    width: 90%;
    margin: 0 auto;
  }
}


/* Estilos generales para la sección de servicios móviles */
.mobile-services-section-new {
  padding: 50px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000c41; /* Fondo más claro para diferenciarse */
  display: none; /* Ocultar por defecto */
}

/* Encabezado de la nueva sección */
.mobile-services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #88ec00;
}

.mobile-services-header p {
  font-size: 1.1rem;
  color: #333;
  max-width: 80%;
  margin: 0 auto;
}

/* Contenedor para las cards en la versión móvil */
.mobile-carousel-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));  /* Disposición adaptativa */
  gap: 20px;  /* Espacio entre las cards */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;  /* Centrado */
}

/* Estilo para las cards móviles */
.mobile-service-card {
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
  display: inline-block;
  border-radius: 10px;
}

.mobile-service-card:hover {
  transform: rotateY(180deg); /* Girar la tarjeta al hacer hover */
}

/* Contenido interno de la tarjeta */
.mobile-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.mobile-card-front, .mobile-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
}

.mobile-card-front {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mobile-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1px;
}

.mobile-card-overlay {
  background-color: #88ec00;
  padding: 20px;
  border-radius: 0 0 10px 10px;
}

.mobile-card-overlay h3 {
  font-size: 1.0rem;
  color: rgb(255, 255, 255);
}

.mobile-card-back {
  background-color: #88ec00;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  padding: 20px;
  transform: rotateY(180deg); /* Girar la parte posterior */
}

.mobile-card-back p {
  font-size: 1rem;
  text-align: center;
}

/* Estilo para los botones de navegación */
.carousel-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.prev-btn, .next-btn {
  padding: 10px 20px;
  background-color: #00c6ff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #007bb5;
}

/* Responsividad para la nueva sección de servicios en dispositivos móviles */
@media screen and (max-width: 768px) {
  /* Mostrar la sección móvil solo en pantallas pequeñas */
  .mobile-services-section-new {
    display: block;  /* Ahora la sección será visible */
  }

  .mobile-service-card {
    width: 100%;  /* Las cards ocuparán el 100% del contenedor */
    margin-bottom: 20px;  /* Espaciado entre las cards */
  }
}


/* Estilos generales para la sección de nosotros */
.about-us-section {
  padding: 100px 20px;
  background-color: floralwhite; /* Fondo oscuro con gradiente */
  color: white;
  text-align: center;
  position: relative;
}

/* Contenedor principal */
.about-us-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* Columna de texto */
.about-us-text {
  flex: 1;
  color: rgb(255, 255, 255);
  max-width: 45%;
}

.about-us-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #88ec00; /* Verde brillante para resaltar */
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-us-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #001261; /* Color gris para contraste */
  font-family: 'Roboto', sans-serif;
}

.about-us-text strong {
  color: #88ec00; /* Resaltar el nombre de la empresa */
}

.cta-btn {
  padding: 12px 30px;
  background-color: #88ec00;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background-color: #29d806;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Sombra suave al pasar el mouse */
}

/* Columna de características */
.about-us-features {
  flex: 1;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.feature {
  display: flex;
  align-items: center;
  background-color: #000d31; /* Fondo oscuro de cada característica */
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
  width: 100%;
}

.feature:hover {
  transform: translateX(10px); /* Desplazamiento suave al pasar el mouse */
}

.feature-icon {
  font-size: 2rem;
  color: #88ec00;
  margin-right: 15px;
}

.feature-text h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: #88ec00; /* Título verde */
}

.feature-text p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.6;
}

/* Responsividad para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .about-us-container {
    flex-direction: column;
    text-align: center;
  }

  .about-us-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .about-us-features {
    max-width: 100%;
  }

  .about-us-text h2 {
    font-size: 2rem;
  }

  .about-us-text p {
    font-size: 1rem;
  }
}

/* Estilos generales para la sección de Portafolio */
.portfolio-section {
  padding: 80px 0;
  background-image: url('../images/Fondo.png'); /* Reemplaza con tu ruta de imagen */
  background-size: cover; /* Asegura que la imagen cubra toda la sección */
  background-position: center; /* Centra la imagen en el fondo */
  color: #fff;
  text-align: center;
  
}

.container {
  width: 90%;
  margin: 0 auto;
}

/* Contenedor para imagen y texto */
.portfolio-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  z-index: 1;
}

/* Contenedor de la imagen */
.portfolio-img-container {
  flex: 1;
  max-width: 45%;
  border-radius: 10px;
  overflow: hidden;
  
}

.portfolio-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contenedor de texto y botón */
.portfolio-text-container {
  flex: 1;
  max-width: 45%;
  z-index: 2; /* Asegura que el texto se vea por encima de la imagen de fondo */
}

/* Título de la sección */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Descripción de la sección */
.section-description {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 40px;
}

/* Estilo del botón CTA */
.cta-btn {
  padding: 12px 30px;
  background-color: #88ec00;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #00b118;
}

/* Media Queries para la sección */
@media (max-width: 768px) {
  .portfolio-content {
      flex-direction: column;
      align-items: center;
  }

  .portfolio-img-container {
      max-width: 80%;
      margin-bottom: 30px;
  }

  .portfolio-text-container {
      max-width: 80%;
      text-align: center;
  }

  .section-title {
      font-size: 2rem;
  }

  .section-description {
      font-size: 1rem;
  }

  .cta-btn {
      font-size: 1rem;
  }
}

/* Contact Section Styles */
.contact-section {
  background-color: #ffffff; /* Fondo oscuro */
  color: rgb(0, 7, 109);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
/* Estilos para el campo de selección */
.form-group select {
  width: 100%; /* Toma el 100% del ancho disponible */
  padding: 12px;
  font-size: 16px;
  background-color: #000853;
  color: white;
  border: 2px solid #ffffff;
  border-radius: 10px;
  appearance: none; /* Elimina el estilo predeterminado de los select */
  -webkit-appearance: none; /* Asegura que los select se vean igual en Safari */
  -moz-appearance: none; /* Para Firefox */
}

.form-group select:focus {
  border-color: #88ec00;
  outline: none;
}

/* Estilo para la flecha del select */
.form-group select::-ms-expand {
  display: none; /* Elimina la flecha en IE y Edge */
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

label[for="product"] {
  color: #ffffff; /* Cambia este valor al color que prefieras */
}
.contact-info {
  width: 45%;
}

.contact-title {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 50px;
  color: #88ec00;
}

.contact-address,
.contact-email,
.contact-phone {
  font-size: 20px;
  margin-bottom: 50px;
  
}

.contact-info i {
  margin-right: 5px; /* Espacio entre íconos y texto */
  color: #000766;  /* Color de los íconos */
}

.contact-email a,
.contact-phone a {
  color: #00014e;
  text-decoration: none;
  
}

.contact-form {
  width: 45%;
  background: #00027c; /* Fondo oscuro semitransparente */
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
}

.form-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

.form-group {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%; /* Toma un 48% del ancho de su contenedor */
  padding: 12px;
  font-size: 16px;
  background-color: #ffffff;
  color: rgb(6, 0, 94);
  border: 2px solid #ffffff;
  border-radius: 10px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #88ec00;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #88ec00;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #13a805;
}

/* Responsividad */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
      align-items: center;
  }

  .contact-info,
  .contact-form {
      width: 100%;
      margin-bottom: 40px;
  }

  .form-group {
      flex-direction: column;
  }

  .form-group input,
  .form-group textarea {
      width: 100%;
  }
}


.popup {
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 20px;
  border-radius: 5px;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

#close-popup {
  background-color: #fff;
  color: #4CAF50;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
}

#close-popup:hover {
  background-color: #ddd;
}










