@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  
  --text-dark: #111827;
  --text-light: #6b7280;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  display: flex;
  width: 110%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

body {
  font-family: "Raleway", sans-serif;
}

nav {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 1rem;
  border-bottom: 1px solid var(--text-light);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6eb0ec;
}

.nav__logo div {
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  font-size: 1.5rem;
  line-height: 1rem;
  color: var(--white);
  background-color: #6eb0ec;
  border-radius: 100%;
}

.nav__socials {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav__socials a {
  padding: 5px 7px;
  font-size: 1.5rem;
  color: var(--text-dark);
  background-color: #efeaee;
  border-radius: 100%;
}

.nav__socials a:hover {
  color: var(--white);
  background-color: var(--text-light);
}

.nav__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav__contact__card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__contact__card span {
  font-size: 2rem;
  color: #6eb0ec;
}

.nav__contact__card p {
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}

.nav__contact__card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.header__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 2rem;
  text-align: center;
}

.header__container h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 5rem;
  color: var(--text-dark);
}

.header__container h1 span {
  color: #6eb0ec;
}

.header__container p {
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75rem;
}

.header__container form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem 0;
  background-color: #f6f4f7;
  border-radius: 10px;
}

.header__container .input__row {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.header__container .input__group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__container .input__group span {
  color: var(--text-dark);
}

.header__container input {
  width: 100%;
  outline: none;
  border: none;
  font-size: 1rem;
  background-color: transparent;
}

.header__container button {
  width: 100%;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background-color: #6eb0ec;
  border-radius: 10px;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 540px) {
  .nav__contact {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  nav {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 1rem;
    border-bottom: 0px solid var(--text-light);
  }
  .header__container h1 {
    font-size: 1.4rem; /* Decrease size for mobile */
    line-height: 3rem; /* Adjust line height */
  }

  .header__container p {
    font-size: 0.9rem; /* Decrease paragraph size */
  }

  .header__container form {
    flex-direction: column;
    width: 100%; /* Full width for mobile */
  }

  .header__container .input__row {
    width: 100%; /* Full width for input rows */
  }

  .header__container button {
    width: 100%; /* Full width button */
  }
}

@media (min-width: 540px) and (max-width: 768px) {
  .nav__contact {
    gap: 1.5rem; /* Slightly increase gap */
  }

  .header__container {
    grid-template-columns: 1fr; /* Single column for medium screens */
  }
}

@media (min-width: 768px) {
  nav {
    padding: 1rem 1rem;
    flex-direction: row;
    margin-top: -20px;
  }

  .nav__logo {
    flex: 1;
  }

  .nav__contact {
    flex: 1;
    justify-content: flex-end;
  }

  .header__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    text-align: left;
    margin-top: 0px;
  }

  .header__image {
    grid-area: 1/2/2/3;
  }
}

@media (min-width: 1024px) {
  .header__container form {
    flex-direction: row;
  }

  .header__container button {
    width: fit-content;
  }
}

.nav__logo a {
  display: flex;
  align-items: center;
  text-decoration: none; /* Elimina el subrayado del enlace */
  color: inherit; /* Mantiene el color del texto */
}

.nav__logo img {
  width: 200px; /* Ajusta el tamaño del logo según prefieras */
  height: auto;
  margin-right: 10px; /* Añade espacio entre el logo y el texto */
  margin-top: 2px;
}

.unique-services {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.unique-services-list {
  list-style: none;
  padding: 0;
}

.unique-services-list li {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  opacity: 0; /* Comienza invisible */
  animation: slideIn 0.5s forwards; /* Aplica la animación */
  animation-delay: calc(var(--i) * 0.3s); /* Usa la variable para el retraso */
}

.unique-services-list li i {
  color: #6eb0ec;
  margin-right: 15px;
  font-size: 1.5rem;
}

/* Definición de la animación */
@keyframes slideIn {
  from {
    transform: translateY(20px); /* Se desplaza hacia abajo */
    opacity: 0; /* Comienza invisible */
  }
  to {
    transform: translateY(0); /* Vuelve a su posición original */
    opacity: 1; /* Se hace visible */
  }
}
button {
  display: inline-flex; /* Para centrar el contenido */
  align-items: center; /* Centrar verticalmente */
  justify-content: center; /* Centrar horizontalmente */
  padding: 1rem 2rem; /* Espaciado interno */
  outline: none; /* Eliminar el contorno por defecto */
  border: none; /* Sin borde */
  font-size: 1rem; /* Tamaño de fuente */
  font-weight: bold; /* Negrita */
  color: var(--white); /* Color de texto */
  background-color: #6eb0ec; /* Color de fondo */
  border-radius: 10px; /* Bordes redondeados */
  cursor: pointer; /* Cambia el cursor al pasar el ratón */
  transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
}

/* Efecto hover */
button:hover {
  background-color: #5aa1d7; /* Color de fondo al pasar el ratón */
  transform: scale(1.05); /* Aumentar el tamaño ligeramente */
}

/* Efecto focus */
button:focus {
  outline: 2px solid #4a90e2; /* Contorno al enfocar */
}

/* Deshabilitar el botón */
button:disabled {
  background-color: #b0d4e7; /* Color de fondo cuando está deshabilitado */
  cursor: not-allowed; /* Cursor de no permitido */
}
.responsive-title {
  text-align: center;
  font-size: 3.1em;
  padding: 0px;
}

@media (max-width: 768px) {
  .responsive-title {
    font-size: 2.5em; /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
    padding: 20px;    /* Ajusta el padding */
  }
}

@media (max-width: 480px) {
  .responsive-title {
    font-size: 2em;   /* Aún más pequeño para dispositivos muy pequeños */
    padding: 15px;    /* Menos padding */
  }
  .nav__logo img {
    width: 150px; /* Ajusta el tamaño del logo según prefieras */
    height: auto;
    margin-right: 10px; /* Añade espacio entre el logo y el texto */
    margin-top: 0px;
  }
}