* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "jakarta", sans-serif;
  background-color: #fff;
  overflow-x: hidden;
}

/* ---- ABOUT US STYLES ---- */
#about-us {
  max-width: 80%;
  width: 1400px;
  margin: 0 auto;
}

#about-us h2 {
  text-align: center;
  padding: 120px 0px 100px 0px;
  color: #18245c;
  font-size: 35px;
}

#about-us .card {
  display: grid;
  grid-template-columns: 3fr 7fr;
  width: 100%;
  margin-bottom: 110px;
  line-height: 178.2%;
  font-size: 24px;
  border-radius: 24px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
}

.card-left {
  background-color: #18245c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  gap: 24px;
}

.card-left img {
  width: 55px;
}

.card-right p {
  color: #18245c;
}

.card-inverted .card-right p {
  color: #fff;
}

.card-right {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 3em;
  background-color: #c3c3c342;
}

#about-us .card-inverted {
  display: grid;
  grid-template-columns: 3fr 7fr;
  width: 100%;
  margin-bottom: 110px;
  line-height: 178.2%;
  font-size: 24px;
  border-radius: 24px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
}

.card-inverted .card-left {
  background-color: #c3c3c342;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #18245c;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  gap: 24px;
}

.card-inverted .card-right {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  padding: 3em;
  background-color: #18245c;
}

/* ---- NAVBAR STYLES ---- */
header {
  width: 100%;
  height: fit-content;
  background-color: #fff;
  position: fixed;
  z-index: 101;
}

.p-mobile {
  display: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  padding: 0 3rem;
}

.navbar-mobile,
#close-menu,
.change-language-mobile {
  display: none;
}

.navbar .menu {
  display: flex;
}

.navbar .menu a {
  text-decoration: none;
  color: #18245c;
  padding: 12px;
  margin-left: 90px;
  font-weight: 700;
  font-size: 17px;
  margin: 0 1.5rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0);
}

.navbar .menu a:hover {
  font-weight: 700;
  border-bottom: 3px solid #18245c;
}

#burger-menu {
  display: none;
}

.change-language {
  display: flex;
  align-items: center;
  color: #18245c;
  cursor: pointer;
  margin-bottom: 2px;
  font-weight: 700;
  margin-left: 35px;
}

.change-language img {
  width: 38px;
  margin-left: 0.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.navbar .logo-container img {
  width: 120px;
  padding: 40px;
}

/* ---- MAIN STYLES ---- */

#main {
  padding-top: 100px;
}

.container {
  display: flex;
}

.container img {
  width: 100%;
}

.container h1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  color: white;
  padding-top: 340px;
  line-height: 50px;
  font-size: 28px;
  margin-left: 80px;
  width: 50%;
}

/* ---- SERVICES STYLES ---- */

#services {
  background-color: #18245c;
  padding-bottom: 30px;
}

.services-background-total {
  max-width: 80%;
  width: 1400px;
  margin: 0 auto;
}

#services h2 {
  text-align: center;
  padding: 120px 0px 70px 0px;
  color: #fff;
  font-size: 35px;
  font-weight: 800;
}

.service-card {
  background: #fff;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
  padding: 4rem;
  height: 350px;
  border-radius: 1rem;
  color: white;
  margin: 3em 0;
}

.service-card p {
  color: #18245c;
  padding-top: 34px;
  line-height: 2rem;
  font-size: 17px;
}

.services-backgrounds-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7em;
}

.services-background-middle {
  background: #fff;
  height: 430px;
  width: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 4px 4px 12px #bcbcbc;
}

.services-title img {
  width: 85px;
}

.services-title {
  display: flex;
  max-width: 80%;
  width: 1400px;
  margin: 0 auto;
  gap: 2em;
}

.services-title-card {
  display: flex;
  gap: 2em;
  color: #18245c;
}

.services-title-card2 {
  display: flex;
  gap: 2em;
  color: #18245c;
}

.services-title-card img {
  width: 70px;
}



.description-sub-title  {
  max-width: 80%;
  width: 1400px;
  margin: 0 auto;
}

.description-sub-title p {
  padding: 30px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 2.9rem;
}

.color-white p {
  color: #fff;
}

.color-blue p {
  color: #18245c;/
}

.services-title-card h1 {
  margin-top: 20px;
}

.services-title h1 {
  font-size: 22px;
  margin-top: 60px;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.color-white-title h1 {
  color: #fff;
}

.color-blue-title h1 {
  color: #18245c;

}

/* -PARTE 2- */

#services2 {
  background-color: #18245c;
}

:root {
  --background-color: #18245c;
  --card-background: #fff;
}

#services {
  background-color: var(--background-color);
}

#services-alt {
  background-color: #fff;
  padding-top: 100px;
  padding-bottom: 70px;
}

.service-card {
  background: var(--card-background);
  color: var(--card-text-color);
}

#services-alt {
  --background-color: #f0f0f0;
  --card-background: #18245c;
}

.color-white-title h1 {
  color: #fff;
}

/* ---- CONTACT STYLES ---- */


#contact h2 {
  text-align: center;
  padding: 30px 0;
  color: #18245c;
  font-size: 35px;
  font-weight: 800;
}

.container-contact {
  display: flex;
}

.container-contact p {
  padding: 0px 40px;
}

.container-contact .right-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
}

.left-side {
  flex: 1;
}

.left-side img {
  width: 100%;
}

.right-side {
  flex: 1;
  background-color: #18245c;
  color: white;
  padding: 20px;
  line-height: 2.2rem;
}

.right-side h1 {
  padding-top: 10px;
}

.right-side img {
  width: 40px;
  padding-right: 20px;
}

.contact-flex {
  display: flex;
  align-items: center;
  gap: 1em;
  padding-bottom: 1em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-bg-container {
  width: 100%;
  height: auto;
}

.contact-bg-container img {
  width: 110%;
  display: block;
}

.contact-content-container {
  background-color: #18245c;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4em;
  line-height: 2.2rem;
  gap: 3em;
  font-size: 20px;
}

.contact-bottom-left-container {
  width: 50vw;
  display: flex;
  flex-direction: column;
  background-color: #18245c;
  justify-content: center;
  align-items: center;
  gap: 68px;
}

form {
  height: fit-content;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background-color: #F0F0F0;
  height: 100%;
  padding: 50px 0;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 80%;
  padding: 12px;
  border-radius: 8px;
  border-style: none;
  box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.3);
  font-family:Verdana, Geneva, Tahoma, sans-seri;
  resize: none;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    outline: 2px solid #1b1454;
    outline-offset: -1px;
}

.contact-form button {
  width: 200px;
  height: 56px;
  background-color: #18245c;
  color: #fff;
  border-radius: 8px;
  border-style: none;
}

.submit-button-en:hover {
  border-radius: 240px;
  font-weight: 600;

}

.button:hover {
  border-radius: 40px;
  font-weight: 600;
}

/* ---- FOOTER STYLES ---- */

footer {
  height: 9em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #18245c;
  color: #fff;
  margin-top: 30px;
}

.footer-styles {
  margin-left: 90px;
}

footer div:nth-child(2) {
  margin-right: 90px;
}

.footer-styles p {
  line-height: 25px;
}

.footer-flex {
  display: flex;
  align-items: flex-end;
}

.footer-flex p {
  margin-left: 15px;
}

.footer-flex img {
  width: 130px;
}

.footer-contact-flex {
  display: flex;
  padding: 4px;
}

.footer-contact img {
  width: 24px;
  margin-right: 10px;
}




/* ---- RESPONSIVE ---- */
@media (max-width: 850px) {
 .navbar {
    height: 5rem;
    margin-top: 5px;
    padding: 20px;
  }

  .navbar .logo-container img {
    width: 120px;
    padding: 0;
  }

  .navbar .logo-container p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 500px;
  }

  .navbar .menu {
    position: absolute;
    display: flex;
    display: none;
  }

  .navbar-mobile {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 1rem;
    box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    -moz-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
  }

  .navbar-mobile {
    display: none;
  }

  .navbar-mobile a {
    text-decoration: none;
    color: #1b1454;
  }

  #burger-menu,
  #close-menu {
    display: block;
    color: #1b1454;
    cursor: pointer;
    font-size: 30px;
  }

  #close-menu {
    display: none;
  }

  .mobile-right {
    display: flex;
    align-items: center;
  }

  #change-language-mobile {
    background-color: #fff;
    margin-left: 1rem;
    border-radius: 50%;
    padding: 5px;
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
  }

  .mobile-right svg {
    width: 33px;
    color: inherit;
    color: #1b1454;
    position: absolute;
    top: 9px;
    left: 6px;
    cursor: pointer;
  }

  #about-us {
    padding-top: 921px;
  }

  .card h3 { 
    text-align: center;
  }

  .card-inverted h3 { 
    text-align: center;
  }

  .container img {
    display: none;
  }

  .container::before {
    content: "";
    background-image: url('../img/Principal\ 3@4x.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 0;
    height: calc(80% + 10px);
  }

  .container h1 {
   text-align: center;
   font-size: 28px;
   padding-top: 200px;
   line-height: 45px;
   margin: 30px 55px 0px 55px;
   width: auto;
  }


  .card-right p {
    font-size: 18px;
    line-height: 30px;
  }

  .card-right {
    padding: 2em;
  }

  .card-inverted .card-right {
    padding: 2em;
  }

  .description-sub-title p {
    line-height: 2.2rem;
  }

   .services-title-card h1 {
    font-size: 20px;
   }

  .services-backgrounds-middle {
    gap: 3em;
  }

  .services-title-card {
    gap: 1em;
  }

  .service-card {
    padding: 2rem;
    height: 447px;
  }

  .service-card p {
    font-size: 17px;
    line-height: 1.8rem;
  }

  #contact h2 {
    font-size: 28px;
  }

  .contact-grid {
    display: block;
  }

  .contact-flex h1 {
    font-size: 20px;
  }
  
  .contact-form {
    width: 100%;
  }

  .contact-content-container {
    padding: 3em;
    font-size: 16px;
    line-height: 30px;
  }
  
  .contact-bg-container img {
    width: 100%;
  }

  .contacto-chat {
    margin-top: 40px;
    text-align: center;
  }

  .contact-bg-container img {
    display: none; 
  }
}


@media (max-width: 580px) {

  #about-us {
    padding-top: 0px;
  }

  .navbar {
    height: 5rem;
    margin-top: 5px;
    padding: 20px;
  }

  .navbar .logo-container img {
    width: 120px;
    padding: 0;
  }

  .navbar .logo-container p {
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 500px;
  }

  .navbar .menu {
    position: absolute;
    display: flex;
    display: none;
  }

  .navbar-mobile {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 1rem;
    box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    -webkit-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
    -moz-box-shadow: 0px 9px 11px -1px rgb(0 0 0 / 25%);
  }

  .navbar-mobile {
    display: none;
  }

  .navbar-mobile a {
    text-decoration: none;
    color: #1b1454;
  }

  #burger-menu,
  #close-menu {
    display: block;
    color: #1b1454;
    cursor: pointer;
    font-size: 30px;
  }

  #close-menu {
    display: none;
  }

  .mobile-right {
    display: flex;
    align-items: center;
  }

  #change-language-mobile {
    background-color: #fff;
    margin-left: 1rem;
    border-radius: 50%;
    padding: 5px;
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
  }

  .mobile-right svg {
    width: 33px;
    color: inherit;
    color: #1b1454;
    position: absolute;
    top: 9px;
    left: 6px;
    cursor: pointer;
  }

  .container img {
    display: none;
  }

  .container::before {
    content: "";
    background-image: url('../img/Principal\ 3@4x.png');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 0;
    height: calc(80% + 10px);
  }

  .container h1 {
   text-align: center;
   font-size: 19px;
   padding-top: 150px;
   line-height: 40px;
   margin: 30px 55px 0px 55px;
   width: auto;
  }
  
  #about-us h2 {
    font-size: 28px;
    padding: 120px 0px 58px 0px;
  }


  #services h2 {
    font-size: 28px;
  }

  .services-backgrounds-middle {
    display: block;
  }

  .services-title {
    align-items: center;
    gap: 1em;
    max-width: 69%;
    margin: 0 40px;
  }

  .services-title img {
    width: 55px;
  }

  .services-title-card {
    gap: 1em;
  }

  .services-title-card h1 {
    font-size: 20px;
  }

  .services-title-card img {
    width: 50px;
  }

   #services h2 {
    padding: 120px 0px 51px 0px;
   }

  .service-card p {
    padding-top: 28px;
    line-height: 1.6rem;
    font-size: 15px;
   }

  .services-title h1{
    margin-top: 5px;
    line-height: 2rem;
    font-size: 16px;
    text-align: left;
  }

  #about-us .card {
    display: block;
  } 

  #about-us {
    margin: 550px auto 10px auto
  }

  #about-us h3 {
    font-size: 23px;
}

  .card-left {
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0px;
    padding: 30px;
    gap: 15px;
  }

  #about-us .card-inverted {
    display: block;
  }



  .card-inverted .card-left {
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0px;
    padding: 30px;
    gap: 15px;
  }

  .card-inverted  .card-right {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 24px;
    padding: 1em;
  }
  
  .card-right {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 24px;
    padding: 1em;
  }

  .card-left img {
    width: 45px;
  }

  .card-right p {
    font-size: 16px;
    line-height: 31px;
}

  .description-sub-title p {
    font-size: 15px;
    text-align: left;
    line-height: 1.7rem;
    font-weight: 400;
  }

  .service-card {
    padding: 1.5em;
    height: 384px;
  }

  #services-alt {
    padding-bottom: 50px;
  }

  #contact h2 {
    font-size: 28px;
  }

  .contact-grid {
    display: block;
  }

  .contact-flex h1 {
    font-size: 20px;
  }
  
  .contact-form {
    width: 100%;
  }

  .contact-content-container {
    padding: 3em;
    font-size: 16px;
    line-height: 30px;
  }
  
  .contact-bg-container img {
    width: 100%;
  }

  .contacto-chat {
    margin-top: 40px;
    text-align: center;
  }

  .contact-bg-container img {
    display: none; 
  }

  .footer-flex img {
    display: none;
  }

  .footer-contact {
    text-align: center;
  }
  
  footer {
    justify-content: center;
    text-align: center;
  }
}