* {
  font-family: "Ubuntu", sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html,
main {
  overflow-x: hidden;
  /* position: relative; */
}
.wrapper {
  max-width: 1400px;
  margin: auto;
  padding: 0 40px;
}

.mobile-only {
  display: none;
}

header {
  padding: 40px 0;
  position: absolute;
  width: 100%;
  z-index: 100;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

nav ul {
  display: flex;
  padding: 0;
  list-style: none;
  margin: 0;
}

nav a:link,
nav a:visited,
nav a:active {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
}

nav ul li a {
  position: relative;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: block;
  padding-bottom: 10px;
}

nav ul li + li {
  margin-left: 40px;
}

nav ul li.active a {
  color: #000;
  font-weight: bold;
}

nav ul li.active a::after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 2px;
  left: 0px;
  height: 3px;
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
}

/*Hero Section*/

.hero-section {
  height: 100vh;
  max-height: 1000px;
  min-height: 700px;
  position: relative;
}

.hero-content {
  align-self: center;
}

.bg-polygon {
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  opacity: 0.1;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: -1;
  clip-path: polygon(20% 0%, 100% 0%, 100% 70%, 20% 80%);
}

.hero-title {
  font-size: 73px;
  line-height: 97.6%;
  margin-bottom: 48px;
  color: #232d4c;
}

.hero-section .wrapper {
  height: 100%;
  display: grid;
  grid-gap: 10%;
  grid-template-columns: 1fr 1fr;
}

.hero-btn {
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  box-shadow: 0px 15px 23px rgba(68, 215, 182, 0.38);
  border-radius: 10px;
  padding: 24px 21px 24px 30px;
  color: #ffffff;
  font-size: 20px;
  font-family: "ubuntu", sans-serif;
  font-weight: bold;
  border: none;
  outline: none;
  text-decoration: none;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
}

.forward-svg {
  margin-left: 17px;
}

.hero-gif {
  align-self: center;
  transform: translateY(10%);
  justify-self: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 446px;
  max-height: 446px;
  border-radius: 25px;
  filter: drop-shadow(0px 30px 31px rgba(0, 0, 0, 0.16));
  overflow: hidden;
}
.hero-gif-container {
  display: flex;
}

.weird-background-thingy-1 {
  position: absolute;
  right: 50%;
  z-index: -1;
  top: 17%;
}

/* Question and section heading */

.question,
.section-heading {
  text-align: center;
  margin: 100px 0;
  position: relative;
}

.question h2,
.section-heading h2 {
  font-weight: bold;
  font-size: 44px;
  line-height: 51px;
  text-align: center;
  margin: 14px;
  color: #232d4c;
}

.question p,
.section-heading p {
  font-size: 18px;
  margin: 14px;
  line-height: 24px;
  color: #969ba9;
  opacity: 0.7;
}

.section-heading::after {
  top: 15px;
  content: "";
  display: block;
  width: 150px;
  margin: 30px auto;
  height: 4px;
  background: linear-gradient(270deg, #44d7b6 0%, #3bb0ea 100%);
  left: 50%;
}

/* Solution */
.answer {
  /* opacity: 0; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
  margin-bottom: 200px;
  position: relative;
}

.answer-content {
  padding: 54px 40px;
  align-self: center;
}

.answer h3 {
  font-size: 23px;
  line-height: 24px;
  margin: 0;
  color: #969ba9;
  opacity: 0.7;
}

.answer p {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  color: #3076c8;
}

.answer h2 {
  font-size: 40px;
  color: #4a90e2;
  margin-top: 2px;
  margin-bottom: 14px;
}

.answer-gif {
  /* opacity: 0; */
  align-self: center;
  filter: drop-shadow(0px 30px 31px rgba(0, 0, 0, 0.16));
  justify-self: center;
  border-radius: 11px;
  z-index: 10;
  width: 100%;
  max-width: 500px;
}

.answer-gif img {
  width: 100%;
  height: 100%;
}

.answer-1 {
  background: linear-gradient(270deg, #44d7b619 0%, #3bb0ea19 100%);
  border-radius: 11px;
  position: relative;
}

.answer-1-gif {
  margin-top: -20px;
  margin-bottom: -20px;
  /* margin-right: -40px; */
  /* margin-left: 50px; */
}

.weird-background-thingy-2 {
  position: absolute;
  top: -20%;
  right: -5%;
}

.answer-2-polygon {
  width: 100%;
  height: 159%;
  z-index: -1;
  position: absolute;
  background: linear-gradient(270deg, #f78765 0%, #fda829 100%);
  opacity: 0.1;
  top: 30%;

  clip-path: polygon(0% 15%, 100% 0%, 100% 100%, 0% 85%);
}

.weird-background-thingy-3 {
  position: absolute;
  bottom: -15%;
  right: -5%;
}

/* partners grid  */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px , 1fr));
  grid-gap: 40px;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 200px;
}

.partners-item {
  text-align: center;
}

.partners-item img {
  height: 90px;
  object-fit: cover;
}

.partners-item p {
  font-size: 20px;
  color: #232d4c;
}

/* demo section  */

.demo-section {
  margin-bottom: 150px;
  position: relative;
}

.demo-polygon {
  position: absolute;
  height: 100%;
  top: -20%;
  z-index: -1;
  width: 100%;
  background: linear-gradient(270deg, #e071f2 0%, #fe8999 100%);
  opacity: 0.1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 85%);
}

.weird-background-thingy-7 {
  position: absolute;
  bottom: 50px;
  right: 0;
}

/* demo form*/

.demo-content.sent {
  opacity: 0;
  pointer-events: none;
}

.demo-form .messages {
  display: none;
  animation: fade-in 0.2s ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.demo-form .messages h3 {
  margin-top: 0;
  color: #5e5e5e;
  font-weight: 500;
  font-size: 23px;
}

.demo-form .messages.sent {
  display: block;
  position: absolute;
  top: 50%;
  width: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  text-align: center;
}

.demo-form {
  width: 440px;
  margin: auto;
  padding: 40px 61px;
  background: #ffffff;
  box-shadow: 0px 15px 26px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  position: relative;
}

.demo-form h3 {
  font-size: 30px;
  margin-top: 0;
}

.input-row {
  display: flex;
  flex-direction: column;
  border: 1px solid #dcdde2;
  box-sizing: border-box;
  border-radius: 5px;
  margin: 22px 0;
  padding: 9px 20px;
}

.input-row label {
  color: #0008;
  font-size: 13px;
  line-height: 15px;
}

.input-row input {
  border: none;
  outline: none;
  padding: 6px 0;
  padding-left: 0;
  font-size: 13px;
  color: #73798d;
}

.input-row input::placeholder {
  opacity: 0.5;
}

.demo-form input[type="submit"] {
  background: #c8cbd2;
  border-radius: 5px;
  -webkit-appearance: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  text-align: center;

  color: #ffffff;
  width: 100%;
  padding: 16px;
  border: none;
  outline: none;
  cursor: pointer;
}

.weird-background-thingy-4 {
  position: absolute;
  bottom: 0;
  left: 8%;
}

.icon-tray {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.icon {
  margin: 0 40px;
}

.footer-heading {
  margin-bottom: 50px;
}

.footer-bar a:link,
.footer-bar a:visited {
  color: #4a90e2;
  text-decoration: none;
}

.footer-bar {
  background: #f1f2f3;
  margin: 63px 0;
  margin-bottom: 40px;
}

.footer-bar .links span::after {
  content: "";
  background-color: #4a4a4a;
  height: 0.3em;
  width: 0.3em;
  border-radius: 50%;
  display: block;
}

.footer-bar .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.footer-bar p {
  margin: 0;
  margin-top: 9px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #232d4c;
  opacity: 0.7;
}

.footer-bar .links {
  display: flex;
  max-width: 650px;
  align-items: center;
  width: 80%;
  font-size: 16px;
  justify-content: space-between;
}

.loader {
  font-size: 10px;
  margin: 50px auto;
  text-indent: -9999em;
  width: 11em;
  height: 11em;
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: -webkit-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(
    left,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  background: linear-gradient(
    to right,
    #ffffff 10%,
    rgba(255, 255, 255, 0) 42%
  );
  position: relative;
  -webkit-animation: load3 1.4s infinite linear;
  animation: load3 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ffffff;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
}
.loader:after {
  background: #c8cbd2;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@-webkit-keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.demo-loader {
  font-size: 2px;
  bottom: 4px;
  right: 81px;
  position: absolute;
  display: none;
}

.demo-form input[type="submit"].active {
  background: linear-gradient(270deg, #44d7b6, #3bb0ea, #44d7b6, #3bb0ea);
  background-size: 300%;
}

.demo-form input[type="submit"].requesting {
  background: linear-gradient(270deg, #44d7b6, #3bb0ea, #44d7b6, #3bb0ea);
  animation: loading-anim 0.5s ease-in-out infinite alternate-reverse;
  background-size: 300%;
}

@keyframes loading-anim {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 0%;
  }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* till 800px */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 60px;
  }
  .partners-grid{
    grid-template-columns: repeat(auto-fill, minmax(200px , 1fr));
    gap:30px;
  }

  .partners-item img {
    height: 70px;
    object-fit: cover;
  }
  
  .partners-item p {
    font-size: 18px;
    color: #232d4c;
  }
}

@media (min-width: 900px) {
  .mobile-only {
    display: none;
  }
}

/* mobile view  */
@media (max-width: 900px) {
  .demo-loader {
    bottom: -4px;
  }
  .desktop-only {
    display: none;
  }
  .wrapper {
    padding: 0 32px;
  }

  header {
    padding: 35px 0;
  }
  nav ul {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;

    padding: 35px;
    /* background: #ecfaf8; */
    background-image: linear-gradient(
      90deg,
      #ecfaf8 0%,
      #ecfaf8 50%,
      transparent 100%
    );
    background-size: 200% 100%;
    background-position: 200% 0%;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-in-out 0.4s;
  }

  nav ul.nav-visible {
    display: flex;
  }

  .nav-opened ul {
    background-position: 0% 0%;
    transition: background-position 0.5s ease-in-out;
  }

  nav ul li {
    margin: 13px 0 !important;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  .nav-opened ul li {
    opacity: 1;
    transition: opacity 0.2s ease-out 0.6s;
  }

  /* HAMBURGER MENU STYLE  */
  .hamburger {
    z-index: 5;
    position: absolute;
    right: 30px;
    top: 26px;
    overflow: visible;
    transform: scale(0.9);
  }
  .hamburger > div {
    height: 1.5px;
    width: 25px;
    margin: 7px 0;
    background-color: #232d4c;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  }

  .hamburger :nth-child(2) {
    opacity: 1;
  }
  .hamburger :nth-child(1) {
    transform-origin: left;
  }
  .hamburger :nth-child(3) {
    transform-origin: left;
  }

  .nav-opened .hamburger :nth-child(2) {
    opacity: 0;
  }
  .nav-opened .hamburger :nth-child(1) {
    transform: translateX(2px) rotate(45deg);
  }
  .nav-opened .hamburger :nth-child(3) {
    transform: translateX(2px) rotate(-45deg);
  }
  .hero-section .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;

    grid-gap: 20px;
  }

  .hero-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .hero-section .wrapper {
    display: flex;
    flex-direction: column;
    grid-gap: unset;
  }

  .hero-content {
    order: 1;
    align-self: flex-start;
  }

  .hero-gif {
    /* grid-row: 2; */
    order: 2;
    /* height: calc(100vh - 400px); */
    max-height: 100%;
    transform: none;
    justify-self: auto;
    object-fit: cover;
    margin-top: 20px;
    height: unset;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 100px;
  }

  .weird-background-thingy-1 {
    left: 70%;
    right: unset;
  }

  .hero-section {
    height: calc(100vh - 150px);
    min-height: 400px;
    max-height: 800px;
    margin-top: 60px;
  }

  .hero-btn.mobile-only {
    font-size: 16px;
    justify-content: center;
    padding: 21px;
    order: 3;
    margin-top: 20px;
  }

  .question h2,
  .section-heading h2 {
    font-size: 24px;
    line-height: 28px;
    margin: 24px 0;
  }
  .question p {
    font-size: 16px;
  }

  .weird-background-thingy-2,
  .weird-background-thingy-3 {
    display: none;
  }

  .answer {
    display: flex;
    flex-direction: column-reverse;

    margin-left: -35px;
    margin-top: 160px;
    margin-bottom: 0;
    border-radius: 10px;
    margin-top: 50%;
    margin-right: -35px;
  }

  .answer-gif {
    grid-row: 1;
    /* max-width: 80%; */
    display: block;
    order: 1;
    margin-top: -25%;
    width: 400px;
    max-width: calc(100% - 100px);
  }

  .answer-content {
    text-align: center;
    /* padding-top: 0; */
  }

  .answer-content h3 {
    font-size: 22px;
  }

  .answer-content h2 {
    font-size: 26px;
    line-height: 30px;
  }

  .answer-content p {
    font-size: 16px;
    line-height: 24px;
  }

  .answer-2-polygon {
    display: none;
  }

  .answer-2 {
    background: linear-gradient(270deg, #f787651a 0%, #fda8291a 100%);
    border-radius: 11px;
  }

  .answer-3 {
    background: linear-gradient(270deg, #44d7b61a 0%, #3bb0ea1a 100%);
  }

  .weird-background-thingy-4 {
    z-index: -1;
    bottom: -20%;
  }

  .demo-form {
    width: 100%;
    padding: 30px;
  }
  .demo-form h3 {
    font-size: 21px;
    line-height: 126%;
    letter-spacing: 0.02em;
  }
  .weird-background-thingy-7 {
    display: none;
  }

  .input-row {
    padding: 6px 16px;
  }

  .demo-polygon {
    top: 23%;
    clip-path: none;
  }

  .footer-bar .wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar .links {
    margin: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bar .links a {
    margin: 18px 0;
    display: block;
    list-style-type: disc;
  }
}

@media (max-width: 400px) {
  .hero-content h2 {
    font-size: 32px;
  }

  /* .hero-gif {
    height: calc(100vh - 350px);
  } */
}

/*loading*/
/* div.gif {
  background: linear-gradient(
    90deg,
    #a7ffed55,
    #ffffff,
    #a7ffed55,
    #ffffff,
    #a7ffed55
  );

  overflow: hidden;

  background-color: white;
  background-size: 400%;
  animation: loading-anim2 3s infinite linear;
} */

div.gif {
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: darkgray;
  background: linear-gradient(to right, #eeeeee 2%, #e0e0e0 18%, #eeeeee 34%);
  background-size: 200%;
  overflow: hidden;
}

.gif img {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease-in-out;
}

.gif.loaded img {
  opacity: 1;
}
@keyframes loading-anim2 {
  from {
    background-position: 0%;
  }
  to {
    background-position: 200%;
  }
}

@keyframes placeHolderShimmer {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.back-to-top-icon {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 15px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 1px 1px 17px 1px #00000021;
  /* transition: all ease-in-out 0.1s; */
  background-color: white;
  z-index: 20;
  opacity: 0.5;
}

.back-to-top-icon img {
  width: 20px;
}
.back-to-top-icon:hover {
  transform: translateY(-5px);
  box-shadow: 1px 10px 17px 3px #00000021;
}
.back-to-top-icon:active {
  transform: translateY(0px);
  box-shadow: 0px 0px 0px 3px #00000021;
  opacity: 1;
}
