* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

section {
  position: relative;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: rgb(252, 248, 248);
}

/* Tipografia */
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

p,
body {
  font-family: "Lora", serif;
}

/* Header */

/* Estilos del header */
.header {
  background-color: #0f0e0e; /* Color de fondo */
  display: flex;
  align-items: center;
  height: 80px; /* Ajusta la altura según sea necesario */
  padding: 0; /* Asegura que no haya padding en los lados */
}

/* Estilos del logo */
.logo {
  height: 100px; /* Ajusta el tamaño del logo */
  width: auto;
  margin-left: 0; /* Asegura que no tenga margen izquierdo */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0; /* Eliminar margin auto */
  padding: 0; /* Agregar un padding si necesitas espacio lateral */
  background-color: #0D0D0D;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none; /* 🔹 Oculto en escritorio */
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Links principales */
.nav-links {
  display: flex;
  gap: 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00c9ff;
}

/* =========================
   🔹 Responsive
   ========================= */
@media (max-width: 768px) {
  /* Mostrar botón hamburguesa */
  .menu-toggle {
    display: block;
  }

  /* Menú oculto inicialmente */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2f2f2f;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    padding: 10px 0;
  }

  /* Menú visible cuando está activo */
  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 15px 0;
    border-top: 1px solid #444;
  }
}

.nav-link:hover {
  color: #00c9ff; /* Color de hover */
}


/* 🔹 Estilos Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00c9ff; /* Azul tecnológico */
}



/* Mis proyectos */

/* Fondo degradado */
#mis-proyectos {
  padding: 40px;
  background: linear-gradient(to bottom, #b3e5fc, #ffffff);
  text-align: center;
}

/* Título */
#mis-proyectos h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

/* Contenedor de proyectos */
.proyectos-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Tarjeta de proyecto */
.proyecto {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.proyecto:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Imágenes igualadas */
.proyecto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Texto */
.proyecto h3 {
  margin: 15px 0 5px;
  font-size: 1.2em;
}

.proyecto p {
  padding: 0 15px 15px;
  color: #555;
}



/* Whatsap */

.whatsapp-container {
  display: flex;
  align-items: center;
}

.whatsapp-container span {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #333;
}

.whatsapp-fixed-container {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp-fixed-container span {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #333;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  text-decoration: none;
}

.whatsapp-button img {
  width: 24px;
  height: 24px;
}

/* Footer */

.footer {
  position: relative;
  width: 100%;
  background-color: #286bcf;
  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.75;
  transition: 0.3s;
}

.menu-icon:hover {
  opacity: 1;
}

.texto-footer {
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 20px;
}

/* Responsive Footer */
@media (max-width: 700px) {
  .footer {
    padding: 15px;
  }

  .social-icon {
    flex-direction: column;
    gap: 10px;
  }

  .icon {
    font-size: 28px;
  }

  .menu-footer {
    flex-direction: column;
    text-align: center;
  }

  .menu-icon {
    font-size: 18px;
    margin: 5px 0;
  }

  .texto-footer {
    font-size: 16px;
  }
}

/* Body index.html */

.imageninicio {
  background-image: url('/imagenes/inicio.jpeg'); /* cambia por la ruta correcta si es distinta */
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.imageninicio::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* oscurece la imagen */
  z-index: 1;
}

.sobre-nosotros h2,
.sobre-nosotros p {
  position: relative;
  z-index: 2; /* Encima del fondo */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content img {
  width: 100px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.5rem;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1,
.hero-content p {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.5s;
}

.hero-content p:nth-of-type(1) {
  animation-delay: 1s;
}

.hero-content p:nth-of-type(2) {
  animation-delay: 1.5s;
}

.hero-content p:nth-of-type(3) {
  animation-delay: 2s;
}


.container {
  display: flex;
  max-width: 100%;
  width: 100%;
  align-items: center;
  background-color: black;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-content {
  flex: 1;
  padding-right: 50px; /* Aumenta la separación de la imagen */
  color: white;
}

.text-content h1 {
  color: #001aff;
  font-size: 2em;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 1.1em;
  color: white;
}

.text-content strong {
  font-weight: bold;
}

.image-content img {
  width: 300px; /* Ajusta el tamaño de la imagen */
  height: auto;
  border-radius: 15px;

  opacity: 0; /* Ocultar al inicio */
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* Transición suave */
}

/* Se activa cuando el usuario llega a la imagen */
.image-content img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sobre Nosotros*/

.sobre-nosotros {
  background-image: url('/imagenes/imagenexpertosdesarrolloweb.jpg'); /* Cambiá esto por la ruta de tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 20px; /* Espaciado interno */
  position: relative;
  z-index: 1;
}

.sobre-nosotros::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;  z-index: 0;
}

.sobre-nosotros h2 {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 300;
  text-align: center;
  color: #0b0b0b;
  margin-bottom: 20px;
  margin-top: 50px;
}

/* Estilo del párrafo */
.sobre-nosotros p {
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 400;
  color: #090909;
  line-height: 1.8;
  text-align: justify;
}

/* Diseño para columnas de texto */
.sobre-nosotros .contenido {
  
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 50px;
}

.sobre-nosotros .columna {
  width: 48%;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-scroll.visible {
  animation: fadeInUp 0.8s ease forwards;
}

/* Estilos base para desktop ya están definidos, ahora agregamos media queries */

@media (max-width: 768px) {
  .sobre-nosotros .contenido {
    flex-direction: column;
    padding: 0 20px;
  }

  .sobre-nosotros .columna {
    width: 100%;
  }

  .sobre-nosotros h2 {
    font-size: 28px;
    padding: 0 10px;
  }

  .sobre-nosotros p {
    font-size: 16px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .sobre-nosotros h2 {
    font-size: 24px;
  }

  .sobre-nosotros p {
    font-size: 15px;
    line-height: 1.6;
  }
}



/*Planes */

.porquenosotros {
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-top: 50px;
}

.textoporquenosotros {
  font-size: 1.1em;
  color: #333;
  margin-top: 50px;
}

.planes-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.plan {
  background: #161616;
  padding: 20px;
  width: 350px;
  text-align: left;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease-in-out; /* Suaviza la animación */
}

.plan:hover {
  transform: scale(1.05); /* Agranda la tarjeta un 5% */
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15); /* Ajusta la sombra para resaltar */
}

.plan img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.plan h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
}

.features {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  color: white;
}

.features li {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.features li::before {
  content: "➤";
  color: #00aaff;
  margin-right: 10px;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  margin-top: 15px;
  display: block;
  text-align: center;
}

.btn:hover {
  background: #0056b3;
}

/*Proceso */
.proceso-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #161616;
  padding: 20px;
  justify-content: center; /* Centra todos los elementos */
}

.tituloproceso {
  text-align: center;
  color: white;
  width: 100%;
}

.proceso {
  max-width: 250px;
  text-align: center;
  height: 300px;
  flex: 1 1 200px; /* Hace que los bloques se adapten */
}

.icono {
  width: 80px;
  height: 80px;
  background-color: #8000ff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
}

.icono img {
  width: 40px;
  height: 40px;
  filter: invert(1);
}

.proceso h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

.proceso p {
  font-size: 14px;
  color: white;
}

@media (max-width: 768px) {
  .proceso-container {
    flex-direction: column;
    align-items: center;
  }
  
  .proceso {
    max-width: 90%;
    height: auto;
  }
}

/*Seccion de comentarios */

.testimonios {
  text-align: center;
  padding: 50px;
  background-color: #f8f8f8;
}

.testimonios-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Se adapta al tamaño de pantalla */
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.testimonio {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
}

.testimonio:hover {
  transform: scale(1.05);
}

.testimonio p {
  font-size: 1rem;
  color: #333;
}

h4 {
  margin-top: 10px;
  color: #007bff;
  font-weight: bold;
}

/*Programador GIF */

.programando {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Evita que se desborde contenido */
}

.programador {
  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.texto {
  position: absolute;
  color: rgb(8, 8, 8);
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 4px 4px 10px rgb(246, 246, 246);
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

@media (max-width: 768px) {
  .texto {
    font-size: 2rem;
  }
}

/* Formulario contacto */

.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5em;
}

ul {
  list-style: none;
  padding: 0;
}

.contacto {
  text-align: center;
  font-size: 3em;
}

.logo span {
  color: #b70e21;
}

.contact-wrapper {
  box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.3);
}

.contact-wrapper > * {
  padding: 1em;
}

.contact-form {
  background: #222222;
}

.contact-form h1 {
  color: white;
  text-align: center;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-form form label {
  display: block;
}

.contact-form form p {
  margin: 0;
  padding: 1em;
  color: white;
  margin-top: 50px;
}

.contact-form form .block {
  grid-column: 1 / 3;
}

.contact-form form button,
.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 0.7em;
  border: none;
  background: none;
  outline: 0;
  color: #fff;
  border-bottom: 1px solid #0056b3;
}

.contact-form form button {
  background: #0056b3;
  border: 0;
  text-transform: uppercase;
  padding: 1em;
}

.contact-form form button:hover,
.contact-form form button:focus {
  background: #d63031;
  color: #fff;
  transition: background-color 1s ease-out;
  outline: 0;
}

/* CONTACT INFO */
.contact-info {
  background: #000;
}

.contact-info h1,
.contact-info h4,
.contact-info ul,
.contact-info p {
  text-align: center;
  margin: 0 0 1rem 0;
  color: white;
}

/* LARGE SIZE */
@media (min-width: 700px) {
  body {
    padding: 0;
  }
  .contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  .contact-wrapper > * {
    padding: 2em;
  }
  .contact-info h4,
  .contact-info ul,
  .contact-info p {
    text-align: left;
  }
}



/*Preguntas frecuentes */

.faq-container {
  max-width: 100%;
  margin: auto;
  font-family: Arial, sans-serif;
  background-color: #111;
  color: white;
  padding: 80px;
}

.faq h2 {
  font-size: 24px;
  text-align: left;
  padding-top: 20px; /* Baja solo el título */
}

.faq-item {
  border-top: 1px solid white;
  padding: 15px 0;
  cursor: pointer;
  position: relative;
}

.faq-item:last-child {
  border-bottom: 1px solid white;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.faq-answer {
  display: none;
  font-size: 16px;
  margin-top: 10px;
  color: #ccc;
}

.arrow {
  transition: transform 0.3s ease-in-out;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsive */

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
  }

  .text-content {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .image-content img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .planes-container {
    flex-direction: column;
    align-items: center;
  }

  .plan {
    width: 90%;
  }
}


@media (max-width: 768px) {
  .proceso-container {
    flex-direction: column;
    align-items: center;
  }

  .proceso {
    width: 90%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

