html {
  scroll-behavior: smooth;
}

body {
  font-family: Poppins;
  width: 100%;
  margin: 0;
}

/* ---- NAVBAR STYLES ---- */

header {
  position: sticky;
  top: 0;
  background-color: #dee6fc;
  z-index: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 130px;
  padding: 0 7rem;
  font-size: 18px;
  font-weight: 500;
}

.navbar .logo-container {
  display: flex;
}

.navbar .logo-container img {
  width: 205px;
}

.change-language {
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  padding: 0 0 0 20px;
  cursor: pointer;
  font-weight: 400;
}

.change-language img {
  width: 40px;
  margin-left: 8px;
}

.menu {
  display: flex;
}

.navbar .menu a {
  text-decoration: none;
  color: #000;
  padding: 40px 20px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.7s;
  font-weight: 400;
}

.navbar .menu a:hover,
a:focus {
  background-size: 100% 3px;
  color: #3e44ab;
  font-weight: 500;
}

.navbar-mobile,
.mobile-right {
  display: none;
}

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

.main-container {
  background-color: #dee6fc;
  padding: 2rem 7rem 6.4rem;
}

.main-container h1 {
  font-size: 3.9em;
  color: #000000;
  font-weight: 500;
  padding: 0px 450px 30px 0px;
}

.color-acent {
  color: #3e44ab;
}

.main-flex {
  display: flex;
  justify-content: space-between;
}

.subtext {
  line-height: 32px;
  font-size: 1rem;
  width: 46%;
}

.contact-btn {
  background-color: #3e44ab;
  color: #ffffff;
  border: none;
  padding-left: 40px;
  padding-right: 40px;
  border-radius: 7px;
  font-size: 1.3em;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  max-height: 65px;
  margin-top: 15px;
}

.contact-btn:hover {
  background-color: #6366f1;
}

.main-container div:last-child {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 6em;
}

#scroll-down-arrow {
  cursor: pointer;
  transition: box-shadow 0.7s ease;
  border-radius: 50%;
  padding: 8px;
}

#scroll-down-arrow:hover {
  box-shadow: 0 0 0 3px #3e44ab;
  border-radius: 50%;
}

/* ---- ABOUT US STYLES ---- */

.about-us-description {
  padding: 7rem 10rem 3rem;
}

.about-us-description h1 {
  color: #3e44ab;
  font-size: 3rem;
  font-weight: 600;
}

.about-us-description p {
  line-height: 35px;
  font-size: 19px;
}

.about-us-vision-icons {
  background-color: #3e44ab;
  display: flex;
  padding: 60px;
  justify-content: center;
  align-items: center;
}

.about-us-vision-icons p {
  color: #ffffff;
  font-size: 2.8em;
  font-weight: 500;
  margin-left: 15px;
}

.about-us-vision-text {
  display: flex;
  justify-content: center;
  padding: 70px 7rem 70px 7rem;
  line-height: 32px;
}

.about-us-containers img {
  width: 4em;
}

.about-us-containers {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-us-values {
  padding-bottom: 3em;
}

.about-us-values h1 {
  color: #3e44ab;
  font-weight: 500px;
  text-align: center;
  font-size: 2rem;
  padding: 60px 0 30px 0;
}

.font-weight {
  font-weight: 600;
}

.values-container {
  display: flex;
  width: 59%;
  background-color: #fff;
  border: 1px solid #a5bdff;
  border-radius: 8px;
  max-width: 1180px;
  margin: 20px auto;
  padding: 26px 0px 26px 221px;
  box-shadow: 0 3px 5px rgba(62, 68, 171, 0.1);
  transition: background-color 0.3s ease;
}

.values-container:hover {
  background-color: #dee6fc;
}

.values-container img {
  width: 25px;
  margin-right: 10px;
}

.values-icon {
  margin-right: 20px;
}

.ivalues-icon img {
  width: 30px;
}

.values-text {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.values-title {
  font-weight: bold;
  color: #3f51b5;
  margin-right: 10px;
}

.values-description {
  color: #000;
}

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

#services {
  background-color: #3e44ab;
  padding-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.services-content {
  max-width: 1180px;
  margin-top: 2.5em;
  margin-bottom: 7em;
}

#services h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  margin-right: 100px;
}

#services p {
  color: fff;
  width: 50%;
}

.services-title {
  display: flex;
  align-items: center;
}

.services-cards {
  width: 47.5%;
  background-color: #edf2ff;
  border-radius: 15px;
  padding: 25px 0px 15px 30px;
  margin-top: 55px;
  box-shadow: 1px 4px 10px 0 rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  padding-left: 65px;
}

.services-card-flex {
  display: flex;
  justify-content: space-between;
}

.services-card-title img {
  width: 4.5rem;
  height: 4.5rem;
  padding-right: 15px;
}

.services-card-title h2 {
  color: #3e44ab;
  font-weight: 600;
}

.services-card-title {
  display: flex;
  align-items: center; 
}

#services h5 {
  font-size: 18px;
  font-weight: 400;
  line-height: 50px;
}

.services-cards-middle {
  background-color: #edf2ff;
  width: 100%;
  border-radius: 15px;
  padding: 35px 0px 20px 50px;
  margin-top: 55px;
  box-shadow: 1px 4px 10px 0 rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}


/* ---- SUCCESS STORIES STYLES ---- */

#casos-de-exito {
  padding: 70px 7rem 70px 7rem;
}

.title-clientes {
  display: flex;
  justify-content: center;
}

.title-clientes h2 {
  color: #3e44ab;
  padding: 0 10px 0 10px;
}

.title-clientes img {
  width: 40px;
}

.casos-subtitle {
  padding: 0 100px 0 100px;
  line-height: 36px;
  text-align: center;
}

.casos-de-exito-title {
  display: flex;
}

.casos-de-exito-title h3 {
  color: #3e44ab;
  font-weight: 600;
}

.casos-de-exito-containers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 60px;
  gap: 20px; 
  justify-content: center; 
}

.caso-container p {
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}

.caso-container {
  width: 80%;
  margin: 0 auto;
}

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

#contact {
  background-color: #dee6fc;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 118px 10rem 70px 10rem;
}

.contact-title h1 {
  color: #3e44ab;
  font-size: 3rem;
  font-weight: 600;
  margin-right: 100px;
}

.contact-title {
  display: flex;
  align-items: center;
}

.contact-title p {
  color: #000;
  width: 55%;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 3em;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-container {
  background-color: #fff;
  padding: 60px 60px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.form-container .input-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 17px;
  margin: 12px 0;
  border: 2px solid #a5bdff;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #bbb;
}

.form-container button {
  width: 250px;
  padding: 20px;
  background-color: #3e44abe0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 2em;
}

.form-container button:hover {
  background-color: #3e44ab;
}

.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: #3e44ab;
  box-shadow: 0 0 5px rgba(58, 58, 182, 0.5); 
}

/* ----  MAP STYLES ---- */

#map {
  padding: 70px 7rem 70px 7rem;
  background-color: #dee6fc;
}

.map-title {
  display: flex;
}

.map-title h2 {
  color: #3e44ab;
  font-weight: 600;
  margin-left: 15px;
}

.map-title img {
  width: 50px;
}

.map-flex {
  display: flex;
  line-height: 35px;
}

.map {
  width: 500px;
}

#map .layout {
  width: 90%;
  border-radius: 15px;
  margin: auto;
  background-color: #dee6fc;
  box-shadow: 0px 0px 15px #3e44ab72; 
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 30px 61px;
  margin-left: 70px;
}

#map .map-container {
  height: 77%;
  position: relative;
}

#map .map-container .marker {
  position: absolute;
}


.marker-1 {
  top: 32.5%;
  left: 22.3%;
  cursor: pointer;
}

.marker-2 {
  top: 42%;
  left: 19.010%;
  cursor: pointer;
}

.marker-3 {
  top: 75.5%;
  left: 95.5%;
  cursor: pointer;
}

.marker-4 {
  top: 34.1%;
  left: 44.2%;
  cursor: pointer;
} 

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

footer {
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #3e44ab;
  color: #fff;
}

footer div:nth-child(1) {
  margin-right: 100px;
}

footer div:nth-child(2) {
  margin-left: 100px;
}

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

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

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

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1445px) {
  .subtext {
    width: 50%;
  }
}

@media (max-width: 1390px) {
  .main-container h1 {
    padding: 0px 146px 30px 0px;
  }

  .subtext {
    width: 62%;
  }
}


@media (max-width: 1120px) {
  .navbar {
    height: 5rem;
    margin-top: 5px;
    padding: 20px 69px;
  }

  .navbar .logo-container img {
    width: 208px;
    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: #3e44ab;
  }

  #burger-menu,
  #close-menu {
    display: block;
    color: #3e44ab;
    cursor: pointer;
    font-size: 30px;
    margin-right: 10px;
  }

  #close-menu {
    display: none;
  }

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

  #change-language-mobile {
    padding: 12px;
    width: 2.4rem;
    height: 1.4rem;
    position: relative;
  }

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

  .main-container {
    padding: 2rem 4rem 6.4rem;
  }
  
  .main-container h1 {
    font-size: 3.5em;
    padding: 0 77px 0 0
  }

  .main-flex {
    flex-direction: column; 
  }

  .contact-btn {
    order: 2; 
    margin-top: 20px; 
    width: 300px;
    padding: 20px;
  }

  .subtext {
    order: 1; 
    margin-bottom: 30px;
    width: 66%;
    font-size: 18px;
  } 

  .about-us-values {
    padding: 0 7em 3em 7em; 
  }


  .values-container {
    width: 72%;
    padding: 26px 70px 26px 70px;
  }

  .services-title {
    padding: 0px 62px;
  }

  .services-cards {
    width: 42.5%;
    padding-left: 30px;
  }

  .services-card-flex {
    justify-content: space-evenly;
  }

  .services-cards-middle {
    width: 92%;
    margin-left: 44px;
  }

  .casos-subtitle {
    padding: 0 0px 0 0px;
  }

  .caso-container {
    width: 88%;
  }

  .casos-de-exito-title img {
    margin-right: 15px;
  }

  .map-title p {
    margin-right: 48px;
  }

  .map-flex {
    display: block;
  }

  #map .layout {
    margin: 42px 0px;
    width: 75%;
  }

  .map {
    width: 382px;
  }

  .marker-1 {
    top: 29.5%;
    left: 21.3%;
  }

  .marker-2 {
    top: 38%;
    left: 18.2%;
  }

  .marker-3 {
    top: 72%;
    left: 94.5%;
  }

  .marker-4 {
    top: 32.1%;
    left: 43.2%;
  }
}

@media (max-width: 1050px) {
  .subtext {
    width: 77%;
  }

  .about-us-description h1 {
    font-size: 2.6rem;
  }

  .about-us-vision-text {
    padding: 70px 5rem 70px 5rem;
  }

  .about-us-values {
    padding: 0 5em 3em 5em;
  }

  #services h1 {
    font-size: 2.6rem;
    margin-right: 60px;
  } 

  #services h5 {
    margin-top: 8px;
    font-size: 16px;
  }

  .services-card-title h2 {
    font-size: 19px;
  }

  .services-card-title img {
    width: 3.5rem;
  }

  .caso-container p {
    text-align: left;
    font-size: 14px;
  }

  .contact-title p {
    width: 70%;
  }

  .contact-title h1 {
    margin-right: 55px;
    font-size: 2.6rem;
  }

  #map .layout {
    width: 83%;
  }
}

@media (max-width: 960px) {
  .subtext {
    width: 77%;
  }

  .about-us-description {
    padding: 3rem 5rem 3rem 
  }

  .about-us-vision-text {
    padding: 50px 4rem 50px 4rem;
  }

  .about-us-vision-icons p {
    font-size: 2.3em;
  }

  .about-us-containers img {
    width: 3.1em;
  }
  
  .values-text {
    flex-direction: column; 
    align-items: flex-start; 
  }

  .values-title {
    margin-bottom: 10px; 
  }

  .values-container img {
    margin-bottom: 30px;
  }

  .values-container {
    justify-content:left
  }
  
  .values-description {
    font-size: 15px;
  }

  #casos-de-exito {
    padding: 70px 4rem 70px 4rem;
  }

  #services h5 {
    line-height: 35px;
    font-size: 13px;
  }
  
  #services p {
    width: 64%;
  }

  .services-card-title img {
    width: 3rem;
    height: 3rem;
  }

  .services-card-title h2 {
    font-size: 16px;
  }
  
  .services-cards {
    width: 42.5%;
    padding-left: 23px;
  }

  .services-cards-middle {
    width: 89.5%;
    margin-left: 42px;
    padding: 28px 0px 13px 32px;
  }

  .casos-subtitle {
    font-size: 15.5px;
  }

  .casos-de-exito-title img {
    margin-right: 15px;
    width: 35px;
  }   

  .casos-de-exito-title h3 {
    font-size: 17px; 
  }

  #contact {
    padding: 70px 0 70px 0;
  }

  .contact-title {
    padding: 0 62px;
  }

  footer {
    justify-content: space-evenly;
  }

}

@media (max-width: 727px) {
  .main-container h1 {
    font-size: 50px;
  }

  .contact-title p {
    width: 100%;
  }
}


@media (max-width: 702px) {
  .values-container img {
    margin-bottom: 54px;
  }
}

@media (max-width: 727px) {
  .main-container h1 {
    padding: 0 10px 0 0
  }

  .about-us-containers {
    display: flex;
    flex-direction: column;
  }

  .about-us-containers .column-3 {
    order: 3;
  }

  .about-us-containers .column-4 {
    order: 4;
  }
  .about-us-vision-icons {
    padding: 38px;
  }

  .about-us-values {
    padding: 0 3.5em 3em 3.5em;
  }

  .about-us-description p {
    line-height: 33px;
  }

  .about-us-values h1 {
    padding: 40px 0 30px 0;
  }  
  #services p {
    font-size: 15px;
  }

  #services h1 {
    font-size: 2.2rem;
  }

  .services-title {
     display: block;
  }

  .services-card-flex {
    flex-direction: column;
    align-items: center;
  }

  .services-cards {
    width: 80.5%;
    padding-left: 53px;
  }

  #services h5 {
    line-height: 42px;
    font-size: 17px;
  }

  .services-card-title h2 {
    font-size: 24px;
  }

  .services-card-title img {
    width: 4rem;
  }

  .services-cards-middle {
    width: 81.5%;
    margin-left: 65px;
    padding: 28px 0px 13px 28px;
  }

  .casos-de-exito-containers {
    display: block;
  }

  .caso-container {
    width: 88%;
    margin-bottom: 50px;
  }
  .caso-container p {
    font-size: 16px;
  }

  .casos-de-exito-title h3 {
    font-size: 21px;
  }

  .casos-subtitle {
    font-size: 15.2px;
  }

  .contact-title {
    display: block;
  }
  .contact-title h1 {
    margin: 0px 10px 20px 0px;
  }

  .contact-title p {
    line-height: 30px;
  }

  .form-container {
    max-width: 467px;
  }

  #map .layout {
    width: 76%;
  }

  .footer-flex img {
    display: none;
  }

  footer {
    justify-content: center;
  }

  footer div:nth-child(1) {
    margin-right: 0px;
  } 

  .footer-styles h4 {
    font-size: 21px;
    text-align: center;
  }

  .footer-styles p {
    font-size: 19px;
  }

  footer div:nth-child(2) {
    margin-left: 0px; 
  } 

}

@media (max-width: 640px) {
  .main-container {
    padding: 2rem 3rem 6.4rem;
  }

  .main-container h1 {
    padding: 0 0 0 0;
    font-size: 53px;
  }

  .subtext {
    line-height: 42px;
    width: 94%;
    font-size: 23px;
  }

  .about-us-description p {
    font-size: 15px;
  }

  .about-us-description {
    padding: 3rem 3.5rem 3rem;
  }

  .values-container img {
    margin-bottom: 57px;
  }
  
  .services-card-title h2 {
    font-size: 21px;
  }

  .services-cards {
    padding-left: 37px;
  }

  .services-cards-middle {
    width: 80.8%;
    margin-left: 53px;
  }

  #services h5 {
    font-size: 15px;
  }   

  .form-container {
    max-width: 356px;
  }

  #map {
    padding: 43px 4rem 70px 4rem;
  }
}

@media (max-width: 540px) {
  .main-container h1 {
    font-size: 48px;
  }

  .subtext {
    line-height: 42px;
    width: 97%;
    font-size: 20px;
  }

  #map .layout {
    width: 70%;
  }

  .map {
    width: 361px;
  }

@media (max-width: 450px) {
    .navbar .logo-container img {
        width: 150px;
    }

    .main-container h1 {
        font-size: 44px;
    }

    .subtext {
        font-size: 17px;
    }

    .services-card-title img {
        width: 4rem;
        height: 4rem;
    }
   
    .form-wrapper {
        width: 82%;
        margin-left: 44px;
    }

   .form-container .input-group {
        display: block;
    }

   .form-container {
        padding: 51px 42px;
    }

    .map {
        width: 250px;
    }

    .values-container {
        padding: 26px 39px 26px 39px;
    }

    .values-container img {
        margin-bottom: 76px;
    }

   .services-card-title {
    width: 96%;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 20px 29px;
    }

    .main-container {
        padding: 2rem 2rem 4.4rem;
    }

    .main-container h1 {
        font-size: 41px;
    }

   .subtext {
        line-height: 30px;
        font-size: 17px;
    }


   .about-us-description {
        padding: 5rem 2rem 3rem;
    }

   .about-us-description h1 {
        font-size: 2.2rem;
    }

   .about-us-description p {
        font-size: 14px;
        line-height: 24px;
    }

   .about-us-vision-text p {
        font-size: 15px;
    }

    .about-us-vision-text {
        padding: 45px 2.5rem 45px 2.5rem;
    }

    .about-us-values {
        padding: 0 2em 3em 2em;
    }

    .values-container img {
        margin-bottom: 80px;
    }

    .about-us-values h1 {
        font-size: 1.5rem;
    }

    .values-container {
        padding: 26px 29px 26px 29px;
    }

    .values-container img {
        margin-bottom: 80px;
    }

    .services-title {
        padding: 0px 44px;
    }

    .services-cards-middle {
        width: 80.8%;
        margin-left: 39px;
    }

    #services h5 {
        font-size: 14px;
    }

    #services {
        padding-top: 2.5rem;
    }

    #services p {
        width: 100%;
    }

    .services-cards {
        padding-left: 18px;
        margin-top: 34px;
    }

    .services-card-title img {
        width: 3rem;
        height: 3rem;
    }

    .services-card-title h2 {
        font-size: 16px;
    }

    .services-cards-middle {
        padding: 27px 0px 3px 17px;
    }

    #casos-de-exito {
        padding: 70px 3rem 38px 3rem;
    }

    .title-clientes img {
        width: 24px;
    }

    #casos-de-exito {
        padding: 70px 2rem 38px 2rem;
    }

    #contact {
        padding: 7.5rem 0 70px 0;
    }

   .casos-subtitle {
        font-size: 15px;
        line-height: 25px;
    }

    .casos-de-exito-title h3 {
        font-size: 18px;
    }

    .caso-container p {
        font-size: 15px;
    }

   .casos-de-exito-containers {
       padding-top: 40px;
    }

    .contact-title h1 {
        font-size: 2.2rem;
    }

    .contact-title p {
        font-size: 15px;
    }

    .contact-title {
        padding: 0px 42px;
    }

   .form-container {
        padding: 53px 25px;
    }
  
   .form-wrapper {
        width: 78%;
        margin-left: 45px;
    }

   .map-title img {
        width: 40px;
   }

   .map-title h2 {
        font-size: 19px;
   }

   #map {
        padding: 43px 2.5rem 70px 2.5rem;
   }

    #map .layout {
        width: 54%;
    }

    .marker-1 {
        top: 20.5%;
        left: 19.3%;
    }


    .marker-2 {
        top: 30.1%;
        left: 16.4%;
    }

    .marker-3 {
        top: 64%;
        left: 91.5%;
    }
    .marker-4 {
        top: 24.1%;
        left: 41.5%;
    }

    .footer-styles p {
        font-size: 14px;
    }
}