*{

  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}


/* styles.css */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  
}

.header {
  position: fixed;
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 0, 50, 0.3), rgba(100, 200, 255, 0.3));
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.5s ease; /* Controla la velocidad del cambio */
}

.header.scrolled {
  height: 60px; /* Reduce la altura */
  background: linear-gradient(135deg, rgba(0, 0, 50, 0.9), rgba(100, 200, 255, 0.9));
}
.header.scrolled .logo {
  width: 80px;  /* Reduce el tamaño del logo */
  height: 50px;
}


.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
  transition: all 1s ease;
}
.nav-container.header.scrolled{

  height: 20px;

}
.nav-list.active {
      left: 0;
      margin-top: 0px;

    }

.logo {
  width: 120px;
  height: 78px;
  background: url('img/logorenan.png');
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.8s ease-in-out; /* Transición más lenta */

}


.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
  flex-grow: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #FFD700;
}

.hover-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 200px;
  display: none;
  z-index: 1001;
  margin-top: 1rem;
}

.hover-content::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.nav-item:hover .hover-content {
  display: block;
}

.hover-image {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.hover-description {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
}

.hover-box {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 200px;
  display: none;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.nav-item:hover .hover-box {
  display: block;
  opacity: 1;
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;

  
}

@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
      right: 10px;
      position: absolute;
  }
  .header.scrolled {
    padding-top: 0px;
    height: 60px; /* Reduce la altura */
    background: linear-gradient(135deg, rgba(0, 0, 50, 0.9), rgba(100, 200, 255, 0.9));
  }

  
  .nav-list {
      position: fixed;
      top: 60px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: linear-gradient(135deg, rgba(0, 0, 50, 0.95), rgba(100, 200, 255, 0.95));
      flex-direction: column;
      align-items: center;
      padding: 0px;
      transition: left 0.3s ease;
  }

  .nav-list.active {
      left: 0;
      margin-top: 20px;

    }
    .nav-list.closing {
      right: -100%; /* Desliza el menú fuera */
  }
    

  .hover-content {
      position: static;
      transform: none;
      width: 100%;
      margin-top: 0.5rem;
      display: none;
  }

  .nav-item:hover .hover-content {
      display: none;
  }

  .nav-item.active .hover-content {
      display: block;
  }
  
    .hover-content, 
    .hover-image, 
    .hover-box {
        display: none !important; /* Oculta imágenes */
    }
  
    /* Asegurar que los enlaces sean clickeables */
    .nav-item a {
        pointer-events: auto; /* Permitir clics */
        z-index: 1001; /* Asegurar que estén por encima de otros elementos */
    }
  
  
}
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#video-bg {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

main {
  padding-top: 60px;
}

section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: white;

  
  box-sizing: border-box;
}

/* Hero Section - Inicio */
.hero-section {
  width: 100%;
  min-height: 100vh;
 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 900px;
  padding: 20px;
  background-color: rgba(27, 89, 214, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  
  animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
 color: #00d4ff;
}


.hero-container span{

  font-size: 4rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  opacity: 0;
  animation: slideIn 1.5s ease-in-out forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-top: 10px;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out 0.5s forwards;
}

.hero-slogan {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out 1s forwards;
}

.hero-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #00d4ff, #004aad);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1.5s ease-in-out 1.5s forwards;
}

.hero-button:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #004aad, #00d4ff);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .hero-section{
    min-height: 100vh;
    
  }

  
  .hero-title {
      font-size: 2rem;
  }
  .hero-subtitle {
      font-size: 1.2rem;
  }
  .hero-slogan {
      font-size: 1rem;
  }
  .hero-button {
      font-size: 1rem;
      padding: 10px 25px;
  }
}




#servicios {
  min-height: 100vh;
  background: white;
  color: black;
  position: relative;
  padding: 20px 20px; /* Espaciado adecuado */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Contenedor de las tarjetas */
.card-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Estilos de cada tarjeta */
.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.card p {
  font-size: 1em;
  line-height: 1.6;
  color: #666;
  text-align: justify;
  padding: 0px 20px;
}

/* Botón "Ver más" */
.ver-mas {
  background-color: #2c3e50;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Ajuste en móviles */
@media (max-width: 768px) {
  .card-stack {
    grid-template-columns: 1fr; /* Apilar tarjetas */
    align-items: center;
    margin: 0px !important;
    min-height: auto;
  }

  .card {
    width: 100%;
    max-width: 90%;
    padding: 10px;
  }

  .ver-mas {
    width: 80%;
    max-width: 300px;
    margin: 20px auto;
    display: block;
    position: relative;
  }
}







#contactos {
  min-height: 100vh !important;
  background: white !important;
  color: black;
}

section ul {
  list-style-type: disc;
  margin-left: 0px;
}

section ul li {
  margin-bottom: 10px;
}

section p {
  margin-bottom: 15px;
  line-height: 1.6;
}


/* Estilos de la Galería */
#galeria {
  height: 100vh !important;
  padding: 20px 20px;
  background: #f4f4f4;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 15px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Estilos para la imagen ampliada */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Se ajusta automáticamente */
    grid-auto-rows: 150px; /* Todas las imágenes tendrán el mismo tamaño cuadrado */
    gap: 10px; /* Espaciado entre imágenes */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  }
  
  .gallery-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al cuadrado sin deformarla */
    display: block;
  }
  
  /* Elimina los tamaños personalizados para que todo sea cuadrado */
  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  
  /* Efecto hover */
  .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
}

/* styles.css */
/* ... (otros estilos existentes) ... */

/* Estilos para los botones flotantes de redes sociales */
.social-floating {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.social-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-button.facebook {
  background-color: #1877f2; /* Color de Facebook */
}

.social-button.whatsapp {
  background-color: #25d366; /* Color de WhatsApp */
}

.social-button.instagram {
  background-color: #e4405f; /* Color de Instagram */
}


/* Animación de caída */
@keyframes fallDown {
  from {
      transform: translateY(-100px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* Botones de redes sociales inicialmente ocultos */
.social-button {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Cuando se activa la animación de caída */
.social-button.show {
  animation: fallDown 0.8s ease-out forwards;
}

/* Cuando los iconos están visibles pero sin efecto de caída */
.social-button.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mensaje flotante */
.social-message {
  position: fixed;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #2c3e50;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}





/* Estilos generales */


/* Estilos generales */
.about-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

/* Grid layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Estilos de imágenes */
.about-images {
    position: relative;
    min-height: 500px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1rem;
    height: 100%;
}

.img-main {
    grid-column: 1 / 5;
    grid-row: 1 / 4;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.img-secondary {
    grid-column: 3 / 7;
    grid-row: 3 / 6;
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    z-index: 1;
}

/* Tarjetas de contenido */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-hover {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card-hover:hover {
    transform: translateY(-5px);
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-icon {
    width: 40px;
    height: 40px;
}

/* Eslogan */
.slogan-box {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
}

.slogan-text {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
}

/* Logros */
.achievements {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.achievement-item {
    text-align: center;
}

.number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

.label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        min-height: 300px;
    }
    
    .img-main,
    .img-secondary {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}



/* Sección Nosotros */
/* Sección Nosotros */
#nosotros {
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.5), rgba(0, 153, 204, 0.5));
  color: white;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

#nosotros.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 100px;
  height: 4px;
  background: white;
  display: block;
  margin: 10px auto;
  border-radius: 2px;
}

/* Grid principal de la sección */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Imagen de la sección */
.nosotros-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  opacity: 1;
}

.nosotros-image img:hover {
  transform: scale(1.05);
}

/* Contenedor de los textos */
.nosotros-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tarjetas de texto */
.nosotros-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.nosotros-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.nosotros-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.nosotros-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: white;
}

.nosotros-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros-grid {
      grid-template-columns: 1fr;
  }


}



/* Sección Clientes */
.clientes-section {
  width: 100%;
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.5), rgba(0, 234, 255, 0.5));
  overflow: hidden;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
}

.clientes-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 90%;
  margin: auto;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 30px;
  animation: slide 15s linear infinite;
}

.carousel-item {
  width: 250px;
  height: 250px; /* Mantiene espacio para la imagen y el texto */
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  overflow: hidden; /* Evita que el texto se desborde */
  padding: 10px; /* Espaciado interno para que el texto no toque los bordes */
  text-align: center; /* Asegura que el texto esté centrado */
}

.carousel-item img {
  max-width: 90%;
  max-height: 150px;
  transition: transform 0.3s ease-in-out;
}

.carousel-item span {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  word-wrap: break-word; /* Evita que el texto se salga del cuadro */
  overflow: hidden;
  max-width: 90%; /* Limita el ancho del texto */
  white-space: normal; /* Permite que el texto haga saltos de línea si es necesario */
  transition: transform 0.3s ease-in-out;
}

/* Modificación para que crezca todo el cuadro en hover */
.carousel-item:hover {
  transform: scale(1.1);
}

.carousel-item:hover img,
.carousel-item:hover span {
  transform: scale(1.1);
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-280px * 9)); }
}
@media (max-width: 768px) {
  #clientes{
    min-height: auto;
  }

}





/* Sección Contactos */
/* Sección Contactos */
.contactos-section {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(135deg, #004aad, #0099cc);
  color: white;
  text-align: center;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.map-container {
  flex: 1;
  min-width: 300px;
  height: 450px;
}

@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
  }
}
.contact-form h3 {
  margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background: #ff4500;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #cc3700;
}

/* Footer */
.footer {
  background: #002855;
  color: white;
  text-align: center;
  padding: 0px 0;
  font-size: 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.footer-column h3 {
  font-size: 1.5rem;

  color: #ff4500;
}

.footer-column p {
  font-size: 1rem;
  margin: 5px 0;
}



/* Estilos para la animación de las tarjetas de servicios */
.card {
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.card:nth-child(odd) {
  transform: translateX(-100%);
}

.card:nth-child(even) {
  transform: translateX(100%);
}

.card.visible {
  opacity: 1;
  transform: translateX(0);
}



.feedback-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.feedback-button:hover::after {
  content: "Quejas y Sugerencias";
  position: absolute;
  right: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 14px;
  margin-left: 10px;
}
.feedback-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  z-index: 1000;
}
.feedback-modal textarea {
  width: 100%;
  height: 100px;
  margin-top: 10px;
}
.modal-close {
  background-color: red;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-top: 10px;
}
.modal-send {
  background-color: green;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  margin-top: 10px;
}



/* Sección de Servicios Ampliados */
.servicesamp-section {
  text-align: center;
  padding: 60px 10px;
  background: rgb(255, 255, 255, 0.5)
}

.servicesamp-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px; /* Separación de 10px entre tarjetas */
  max-width: 1200px;
  margin: auto;
  
}

/* Estilo de las tarjetas */
.servicesamp-card {
  perspective: 1000px;
  width: 100%;
  height: 300px;
  
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-in-out;
}

.servicesamp-card:hover .card-inner {
  transform: rotateY(180deg);
}

/* Lado frontal de la tarjeta */
.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px;
  border-radius: 10px;
  backface-visibility: hidden;
}

/* Lado trasero de la tarjeta */
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #004aad;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  padding: 15px;
  border-radius: 10px;
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

/* Responsividad */
@media (max-width: 768px) {
  .servicesamp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
  }

  .servicesamp-card {
    width: 90%;
    height: 300px; /* Tarjetas cuadradas en móviles */
  }

  .card-front, .card-back {
    height: 100%;
    width: 100%;
  }
}
