@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
*::before,
*::after {
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Estándar */
}
body {
    font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #171717;
}
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
/* Header */
header {
  background-color: #0f0f0f;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  position: sticky;
  top: 0;
  z-index: 999;
}
.logo {
  font-weight: bold;
  font-size: 1.5em;
}
nav ul {
  display: flex;
  gap: 1em;
  list-style: none;
  font-size: 1.4em;
}
nav a {
  color: white;
  text-decoration: none;
}
#menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  color: white;
}

.header h1 {
  font-size: 3.5rem;
  color: #ffffff;
}
.header p {
  font-size: 2rem;
  color: #ffffff;
}
.header {
  position: relative;
  text-align: center;
  background: linear-gradient(
    to right,
    hsla(321, 95%, 51%, 0.857),
    hsla(186, 100%, 43%, 0.857)
  );
  color: #ffffff;
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.flex {
  /*flexbox for container*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
}
/*Animation Waves*/
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
/* Servicios */
.servicios {
  background-color: #171717;
}
.servicios,
.portafolio,
.contacto {
  padding: 3em 2em;
  max-width: 1000px;
  margin: auto;
}
.banner {
  font-size: 1.5em;
  padding: 2em;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}
.card {
  background-color: #171717;
  padding: 1em;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  color: #ffffff;
  font-size: 1.3rem;
}
/* Nosotros */
.nosotros {
  background-color: #1f1f1f;
  padding: 5rem 2rem;
}
.nosotros p {
  font-size: 1.2rem;
  text-align: center;
  padding: 0 1rem;
  color: #ffffff;
}
.mision-vision {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.mision,
.vision {
  flex: 1 1 300px;
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 10px;
}

.mision h3,
.vision h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mision p,
.vision p {
  font-size: 1.1rem;
  color: #ffffff;
}
/* Contacto */
.contactanos {
  background-color:#171717;
  text-align: center;
}
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
    margin: auto;
}
  .contacto input, .contacto textarea {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 10px;
    font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
}
.contacto button {
  padding: 0.75rem;
  background: linear-gradient(to right, #f90ca6, #00c7dc);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 25px;
    font-family: 'Segoe UI', sans-serif;
  font-size: 1.2rem;
}

/* Portafolio */
.portafolio {
  background-color:#151515;
  padding: 3em 10em;
  max-width: 100%;
  margin: auto;
}
/* Footer */
footer {
  background-color: #0f0f0f;
  color: white;
  text-align: center;
  padding: 2em 1em;
  margin-top: 2em;
  position: relative;
}

.footer-contacto {
  margin-bottom: 1rem;
}

.footer-contacto img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.footer-contacto img:hover {
  transform: scale(1.1);
}

.whatsapp-button {
  display: inline-block;
}

/*Otros estilos*/
.titulo-degradado-animado {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  background: linear-gradient(270deg, #f90ca6, #00c7dc, #f90ca6);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  animation: animarDegradado 8s ease infinite;
}

.mi-swal {
  border-radius: 20px;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
  background: #1a1a1a;
}

.mi-titulo {
  font-size: 24px;
  background: linear-gradient(270deg, #f90ca6, #00c7dc, #f90ca6, #00c7dc);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  animation: animarDegradado 8s ease infinite;
}

.mi-confirm-button {
  background: linear-gradient(to right, #f90ca6, #00c7dc);
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  padding: 10px 35px;
  border-radius: 25px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.mi-confirm-button:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.5);
}

/*WhatsApp flotante*/
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 65px;
  height: 65px;
  background-color: #000;
  border-radius: 50%;
  box-shadow: 5px 5px 25px rgba(62, 62, 62, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/*Puntero*/
nav ul li {
  cursor: pointer;
}
nav ul li a {
  cursor: pointer;
  display: inline-block;
  user-select: none;
  padding: 0.5em 1em;
}
/* Animación */
@keyframes animarDegradado {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*Keyframes*/
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Responsive Tablet */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(23, 23, 23, 0.9);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1em;
    border-radius: 5px;
    font-size: 1.2em;
  }
  #menu-toggle {
    display: block;
  }
  .titulo-degradado-animado {
  font-size: 2rem;
}
  .header p {
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
  }
  .card {
    font-size: 1.3rem;
  }
  .nosotros p {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
}
/* Responsive Smartphone grande */
@media (max-width: 720px) {
  .header p {
    font-size: 1.3rem;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
  }
  .card {
    font-size: 1.1rem;
  }
  .nosotros p {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
}
/* Responsive Smartphone mediano */
@media (max-width: 500px) {
  .titulo-degradado-animado {
  font-size: 2rem;
}
.header h1 {
  font-size: 2.2rem;
}
  .header p {
    font-size: 1.4rem;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
  }
  .card {
    font-size: 1rem;
  }
  .nosotros p {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }
}
/* Responsive Smartphone pequeño */
@media (max-width: 350px) {
  .titulo-degradado-animado {
  font-size: 1.8rem;
}
.header h1 {
  font-size: 1.6rem;
}
  .header p {
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
  }
  .card {
    font-size: 1rem;
  }
  .nosotros p {
    font-size: 0.8rem;
    text-align: center;
    padding: 0 1rem;
  }
    .mision-vision {
  gap: 1rem;
  padding: 1rem;
}

.mision,
.vision {
  padding: 1rem;
  border-radius: 10px;
}

.mision h3,
.vision h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mision p,
.vision p {
  font-size: 0.9rem;
  color: #ffffff;
}
}
/* Responsive Smartphone pequeño */
@media (max-width: 300px) {
  .titulo-degradado-animado {
  font-size: 1.7rem;
}
.header h1 {
  font-size: 1.5rem;
}
  .header p {
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
  }
  .card {
    font-size: 0.95rem;
  }
  .nosotros p {
    font-size: 0.8rem;
    text-align: center;
    padding: 0 1rem;
  }
  .mision-vision {
  gap: 1rem;
  padding: 1rem;
}

.mision,
.vision {
  padding: 1rem;
  border-radius: 10px;
}

.mision h3,
.vision h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mision p,
.vision p {
  font-size: 0.9rem;
  color: #ffffff;
}
}
@media (max-width: 281px) {
  .card {
    font-size: 0.9rem;
    text-align: center;
  }
}
@media (max-width: 270px) {
  .card {
    font-size: 0.8rem;
    text-align: center;
  }
    .titulo-degradado-animado {
  font-size: 1.5rem;
}
.mision p,
.vision p {
  font-size: 0.8rem;
  color: #ffffff;
}
}
/* Ajuste para móviles */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    align-items: center;
  }
}
/* diseño del spinner */
.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
/* ---------------------*/