@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --light-blue: #59a1c8;
  --blue: #0798d5;
  --dark-blue: #24749b;
  --green: #8ac255;
  --dark-gray: #2e353d;
  --charcoal: #353c45;
  --med-gray: #8c939c;
  --light-gray: #c2c8cf;
  --base-gray: #eeeeee;
  --white: #ffffff;
}

body {
  width: 100%;
  height: 100vh;
  color: var(--charcoal);
}

p {
  line-height: 1.8em;
}

.highlight {
  color: var(--blue);
}

.btn {
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  white-space: nowrap;
}

.btn--white {
  background: var(--base-gray);
  color: var(--charcoal);
}

.btn--white:hover {
  background: var(--light-gray);
}

.btn--blue {
  background: var(--blue);
  color: var(--base-gray);
}

.btn--blue:hover {
  background: var(--dark-blue);
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.ml-50 {
  margin-left: 50px;
}



/*---- Topbar & menu ----*/

.topbar {
  width: 100%;
  height: 100px;
  padding: 0 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo img {
  height: 35px;
}

.logo-datasur {
  color: var(--blue);
  font-size: 1.7em;
  font-weight: 500;
}

.menu {
  height: auto;
  font-size: smaller;
  list-style: none;
  display: flex;
  white-space: nowrap;
}

.menu a {
  color: var(--charcoal);
  margin-left: 20px;
  text-decoration: none;
}

.menu a:hover {
  color: var(--blue);
}

.menu a:active {
  color: var(--blue);
}

.menu .icon {
  display: none;
}

.toggle {
  display: none;
}

.toggle.active {
  display: flex;
  font-size: 1.7em;
}

.bg-light {
  background: var(--base-gray);
}

@media screen and (max-width: 1200px) {
  .topbar {
    padding: 0 50px;
  }
}

@media screen and (max-width: 788px) {
  .topbar {
    height: fit-content;
    padding: 30px;
    display: flex;
    flex-direction: column;
  }

  .logo {
    justify-content: center;
  }

  .menu {
    justify-content: center;
    margin-top: 10px;
  }
}

@media screen and (max-width: 650px){
  .topbar {
    height: fit-content;  
    display: flex;
    flex-direction: column;
    justify-content: start;
  }

  .logo {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .toggle {
    display: flex;
    justify-content: flex-end;
    font-size: 1.7em;
  }

  .menu {
    display: none;
  }

  .menu.active {
    width: 100%;
    display: flex;
    flex-direction: column;
    line-height: 2.5em;
    margin-top: 10px;
  }


}



/*---- Hero ----*/

.hero img {
  height: 550px;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/header.jpg");
  height: 550px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 50%;
}

.hero-text p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-text button {
  padding: 5px 10px;
}


@media screen and (max-width: 992px) {
  .hero-text {
    width: 85%;
  }
}




/*---- Anydesk download ----*/

.remote {
  background: var(--base-gray);
  padding: 50px 150px;
  display: flex;
  align-items: center;
}

.remote p {
  width: 90%;
}

@media screen and (max-width: 1200px){
  .remote {
    padding: 50px 50px;
  }
}

@media screen and (max-width: 768px) {
  .remote {
    display: block;
  }

  .btn-remote {
    text-align: end;
    margin-top: 50px;
  }
}



/*---- Section ----*/

.section {
  padding: 100px 150px;
}

.section-header {
  position: relative;
  padding-bottom: 20px;
  margin: 0 0 20px;
  text-transform: uppercase;
  text-align: center;
}

.section-header:before {
  content: "";
  position: absolute; 
  width: 140px;
  bottom: 0;
  left: 50%;
  margin-left: -70px;
  height: 1px;
  background: var(--light-gray);
}

.section-header:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  bottom: -12px;
  left: 50%;
  margin-left: -12px;
  border: 5px solid var(--white);
  border-radius: 20px;
  background: var(--blue);
}

.section-subtitle {
  padding: 0 20%;
  text-align: center;
}


.section-details {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
}

.section-image {
  text-align: center;
}

.section-image img {
  max-width: 450px;
}

.section-text-left {
  margin-left: 50px;
}

.section li {
  list-style: none;
  display: flex;
  line-height: 1.8em;
  margin-top: 10px;
}

.section li ion-icon {
  margin-right: 5px;
  margin-top: 7px;
  color: var(--blue);
  --ionicon-stroke-width: 56px;
}

.btn-section {
  margin-top: 50px;
}

.cta {
  position: relative;
  margin: 0 0 20px;
  text-align: center;
  background-image: url(../img/cta.jpg);
  color: var(--white);
}

.cta-subtitle {
  margin: 0 20%;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  justify-content: space-between;
  grid-gap: 20px;
  text-align: center;
}

.section-grid img {
  width: 250px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--white);
}

.section-grid img:hover {
  border: 1px solid var(--med-gray);
}


@media screen and(max-width: 1400px) {
  .section-grid img {
    width: 200px;
  }
}

@media screen and (max-width: 1200px){
  .section {
    padding: 100px 50px;
  }

  .section-text-left {
    margin-left: 30px;
  }

}

@media screen and (max-width: 992px) {
  .section-image img {
    width: 350px;
  }
}

@media screen and (max-width: 768px) {
  .section-subtitle {
    padding: 0;
  }

  .section-details {
    flex-direction: column;
  }

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

  .section-image img {
    width: 100%;
  }

  .section-text-left {
    margin-left: 0;
    margin-top: 50px;
  }

  .cta-subtitle {
    margin: 0;
  }

  .btn-section {
    text-align: end;
    margin-top: 50px;
  }
}




/*---- Media object ----*/
.media {
  display: flex;
}

.media-icon {
  font-size: 2em;
  margin-right: 20px;
  color: var(--blue);
  padding: 12px;
  border-radius: 50%;
  border: 2px solid var(--base-gray);
  background: var(--white);
}

.media:hover .media-icon {
  background-image: linear-gradient(45deg, var(--light-blue), var(--blue));
  color: var(--white);
}



/*---- Contact ----*/
.bg-gradient {
  background-image: linear-gradient(0deg, var(--light-blue), var(--blue));
  color: var(--white);
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact p {
  margin-top: 10px;
  font-size: 0.8em;
  line-height: 1.5em;
}

.container-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(69,174,214,0.3);
  z-index: 1;
  display: flex;
  justify-content: end;
}

.contact-logo {
  display: flex;
  align-items: center;
  margin: 10px 0;
  font-size: 1.em;
  font-weight: 600;
}

.contact-logo ion-icon {
  margin-right: 5px;
}

.contact-logo .whatsapp {
  color: green;
  font-size: 1.2em;
  font-weight: 700;
}

.contact-logo .gmail {
  color: rgb(219, 65, 65);
  font-size: 1.1em;
  font-weight: 400;
}

.contact-us {
  background: rgba(255,255,255,0.7);
  padding: 20px;
  margin: 50px;
  border-radius: 5px;
  margin-right: 150px;
  height: min-content;
  width: 400px;
}




@media screen and (max-width: 768px) {
  .contact-form {
    width: 100%;
    margin: 50px;
  }
}



/*---- Footer ----*/

.footer {
  width: 100%;
  height: 100px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
}
