/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}


ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

ol {
  margin-left: 50px;
  line-height: 2.0;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 100%;
  margin-inline: 1.5rem;
  /*Divide el contenido en Columnas para ajustarse ala pantalla */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo img {
  width: 25%;
}

.nav__logo,
.nav__burger,
.nav__close {
  color: black;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }

  .nav__list {
    background-color: white;
    padding-top: 1rem;
  }
}

.nav__link {
  color: black;
  background-color: white;
  font-weight: 800;
  width: 80px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  color: red;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
  color: black;
}

.dropdown__arrow:hover {
  color: red;
}

.dropdown__link,
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: black;
  background-color: white;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  color: white;
  background-color: #023E8A;
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
  background-color: white;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover>.dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }

  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover>.dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}



/*=============== SECCIONES DEL CONTENIDO ===============*/
section {
  width: 100%;

}

/* Sección 1 */
.img-bienvenida {
  position: relative;
  width: 100%;
}

.img-desarrollo {
  width: 100%;
  height: auto;
}

/* Sección 2 - About Us */
.seccion-2 {
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  /* Alinea horizontalmente el contenido */
  text-align: center;
  /* Centra el texto dentro de la sección */
  gap: 20px;
  padding: 150px;
  background-color: #ffffff;
}

.titulo-seccion-2 {
  font-size: 50px;
  font-weight: bold;
  color: #023E8A;
  margin-bottom: 20px;
}

.descripcion-seccion-2 {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  max-width: 500px;
  margin-bottom: 30px;
}

.img-seccion-2 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 10px 15px #1272f1ac;
}

/* Sección 3 - Services */
.seccion-3 {
  width: 100%;
  height: 100%;
  background-color: #023E8A;
  color: white;
  padding: 40px;
  text-align: center;
  padding: 150px;
}

.titulo-seccion-3 {
  font-size: 50px;
  margin-bottom: 90px;
  color: #fff;
}

.cajas-de-los-servicios {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.box-servicio {
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-servicio:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-ver-mas-servicios {
  margin-top: 20px;
}

.seccion-3 button {
  padding: 10px 20px;
  margin-top: 40px;
  background-color: #fff;
  color: #023E8A;
  font-weight: 600;
  width: 200px;
  height: 50px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.seccion-3 button:hover {
  background-color: red;
  color: #fff;
  transform: scale(1.1);
}

/* Sección 4 - Team */
.seccion-4 {
  width: 100%;
  background-color: white;
  text-align: center;
  padding: 40px;
  padding-top: 200px;
  padding-bottom: 200px;
}

.titulo-seccion-4 {
  font-size: 50px;
  margin-bottom: 60px;
}

.perfil-de-integrantes {
  display: flex;
  justify-content: center;
  gap: 250px;
  flex-wrap: wrap;
}

.box-perfil {
  max-width: 200px;
  text-align: center;
}

.foto {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

.nombre-de-integrante {
  font-weight: bold;
  color: #023E8A;
  font-size: 25px;
}

/* Sección 5 - Contact Form */
.seccion-5 {
  width: 100%;
  background-color: white;
  padding: 40px;
  padding-bottom: 200px;
}

.titulo-5 {
  text-align: center;
  font-size: 35px;
  margin-bottom: 50px;
}

.caja-de-datos {
  max-width: 600px;
  margin: 0 auto;
}

.box-datos {
  margin-bottom: 20px;
}

.seccion-5 label {
  font-weight: bold;
}

.seccion-5 span {
  color: red;
}

input {
  width: 100%;
  padding: 20px;
  margin: 20px 0;
  border: 2px solid #0056a3;
  border-radius: 5px;
  font-size: 16px;
}

.seccion-5 button {
  padding: 10px 10px;
  margin-top: 20px;
  background-color: #0056a3;
  color: white;
  font-weight: 600;
  width: 160px;
  height: 50px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.seccion-5 button:hover {
  background-color: red;
  color: #fff;
  transform: scale(1.1);
}



/* WhatsApp Bubble */
.whatsapp-seccion {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: red;
  /* Color rojo */
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-bubble:hover {
  background-color: #cc0000;
  /* Oscurecer el rojo en hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
  /* Efecto de escala en hover */
}

.whatsapp-bubble svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: white;
}

.whatsapp-bubble span {
  font-size: 16px;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .whatsapp-bubble {
    padding: 8px 15px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-bubble svg {
    width: 20px;
    height: 20px;
  }

  .whatsapp-bubble span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .whatsapp-bubble {
    padding: 6px 10px;
    bottom: 10px;
    right: 10px;
  }

  .whatsapp-bubble svg {
    width: 18px;
    height: 18px;
  }

  .whatsapp-bubble span {
    font-size: 12px;
  }
}


/* FOOTER */
footer {
  width: 100%;
  background-color: #023E8A;
  color: white;
  padding: 50px 40px;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

footer {
  flex: 1;
  min-width: 200px;
}

footer h2 {
  border-bottom: 2px solid white;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.social-media {
  margin-top: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
  padding-bottom: 20px;
}

.footer-section ul li {
  margin: 5px 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-year {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .seccion-2 {
    grid-template-columns: 1fr;
  }

  .cajas-de-los-servicios {
    grid-template-columns: 1fr;
  }
}