/* POPPINS FONT FAMILY */
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Righteous&display=swap");

* {
  font-family: "Poppins", sans-serif;
  padding: 0%;
  margin: 0%;
  outline: 0ch;
}

body {
  background-color: #f8f8fa;
  box-sizing: border-box;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #e9edfe;
}

body::-webkit-scrollbar-thumb {
  background-color: #5569fc;
  border-radius: 20px;
  border: 3px solid #e9edfe;
}

/* ----------------------------- */
/* -----------Header------------ */
/* ----------------------------- */

header {
  height: 60vh;
  background-color: #5569fc;
  color: #fff;
  padding: 1% 0 0 5%;
}

/* -----------Navbar---------------- */

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4em;
  padding-right: 5%;
}

.ham {
  display: none;
  width: 5%;
}

.nav-item-active {
  font-size: 1rem;
  background: #fff;
  color: #5569fc;
  border-radius: 3px;
  border: transparent solid 2px;
  padding: 0.3em 0.6em;
  transition: all 300ms ease-in-out;
}

.nav-item-active:hover {
  font-weight: 800;
  color: #fff;
  background: #5569fc;
  border: #fff solid 2px;
  cursor: pointer;
}

.nav-item {
  padding-bottom: 3px;
  background: linear-gradient(#fff, #fff) left bottom no-repeat;
  background-size: 0% 0%;
  transition: all 200ms ease-in-out;
}

.nav-item:hover {
  background-size: 100% 2px;
  font-weight: 800;
  cursor: pointer;
}

/* -----------Header-text---------------- */

.header-text {
  max-width: 51%;
  padding-top: 5%;
  float: left;
}

.header-text>h2 {
  font-size: 2rem;
  font-weight: 100;
  letter-spacing: 1px;
  line-height: 1.5;
  padding-bottom: 0.5rem;
}

.header-image {
  width: 40%;
  float: right;
}

/* ---------Companies--------- */

.companies {
  margin: 1% 5%;
  margin-bottom: 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 50%;
}

.company-items {
  font-family: Righteous;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: large;
  transition: all 300ms ease-in-out;
}

.company-items:hover {
  color: #5569fc;
}


/* ------------------------------ */
/* ------------API's------------- */
/* ------------------------------ */

.api {
  padding: 1% 5% 0 5%;
}

.api-heading {
  max-width: 22%;
  padding-bottom: 0.3em;
}

/* -------------Cards-------------- */

.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 6%;
}

.card-active {
  max-width: 120px;
  background-color: #fff;
  box-shadow: 1px 1px 5px rgba(141, 135, 135, 0.377);
  padding: 30px 30px;
  border-radius: 5px;
}

.card-head-active {
  color: #5569fc;
  padding: 10px 0 2px 0;
  font-size: 1em;
  min-height: 3rem;
}

.card-body {
  font-size: 0.7em;
}

.card {
  cursor: pointer;
  border-radius: 5px;
  max-width: 120px;
  padding: 30px 20px;
  transition: all 200ms ease-in-out;
}

.card:hover {
  background: #fff;
  box-shadow: 1px 1px 5px rgba(141, 135, 135, 0.377);
}

.card h3 {
  min-height: 3rem;
}

.card-head {
  padding: 10px 0 2px 0;
  font-size: 1em;
}

.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  padding: 10px;
  background-color: #5569fc;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.arrow:hover {
  background: rgba(85, 104, 252, 0.432);
  color: #5569fc;
}

/* ------------------------- */
/* ------Blog section ------*/
/* ------------------------- */

.blog-section {
  padding: 0 5% 6% 5%;
}

.blog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-heading>a {
  text-decoration: none;
  color: #5569fc;
  font-weight: bold;
  text-transform: capitalize;
}

.blog-heading>a:hover {
  color: #000;
  transition: all 200ms ease-in-out;
}


.blog-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2%;
}

.blog-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  border-top-left-radius: 50px;
  box-shadow: 1px 1px 5px rgba(141, 135, 135, 0.377);
  transition: all 200ms ease-in-out;
}

.blog-card:hover {
  box-shadow: 4px 4px 15px rgba(141, 135, 135, 0.577);
}

.blog-image {
  box-sizing: border-box;
}

.blog-image img {
  width: 100%;
  height: 100%;
}

.blog-content {
  padding: 30px 10px 0px 40px;
  width: 12rem;
}

.blog-content>h6 {
  color: #5569fc;
  font-weight: 900;
  margin-bottom: 5px;
}

.blog-content>small {
  overflow: hidden;
  font-size: 0.8rem;
  padding: 0%;
  line-height: 0;
}

.blog-content>h3 {
  font-size: 1rem;
  padding: 0%;
  padding-bottom: 10px;
}

.blog-bottom {
  position: absolute;
  bottom: -10%;
  right: 30%;
}

.blog-author {
  width: 40%;
  position: absolute;
  bottom: 1%;
  right: 9%;
  font-size: xx-small;
  font-weight: 800;
}

/* ---------------------------- */
/* ---------FAQ SECTION-------- */
/* ---------------------------- */

.faq-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #e9edfe;
}

.faq-image>img {
  width: 100%;
  height: 100%;
}

.faq-content {
  padding-left: 5%;
  padding-top: 4%;
}

.faq-content>h2 {
  font-size: 1.8rem;
  font-weight: bolder;
}

.faq-content>h4 {
  font-size: 0.6rem;
  max-width: 70%;
  padding-top: 5px;
}

.faq-content>.question {
  padding-top: 7%;
  padding-bottom: 2%;
  font-size: 1rem;
}

.faq-content>button {
  background-color: #5569fc;
  color: #fff;
  font-size: 0.6rem;
  border: 2px solid transparent;
  border-radius: 5px;
  padding: 1.2em 2em;
  transition: all 300ms ease-in-out;
}

.faq-content>button:hover {
  font-weight: bolder;
  background: #fff;
  color: #5569fc;
  border: 2px solid #5569fc;
  cursor: pointer;
}

/* ------------------------- */
/* --------Download--------- */
/* ------------------------- */

.download-section {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 6% 5%;
}

.download-content>h1 {
  font-size: 1.5rem;
  font-weight: bolder;
}

.download-content h1 span {
  font-weight: 100;
}

.download-email form {
  background-color: #e9edfe;
  border-radius: 25px;
  border: none;
  display: flex;
  flex-direction: row;
}

.download-email input {
  margin-left: 2rem;
  background: transparent;
  border: none;
}

.download-email input::placeholder {
  color: #000;
  font-family: Poppins;
}

.download-btn {
  font-family: Poppins;
  background-color: #5569fc;
  color: #fff;
  border: 2px solid transparent;
  padding: 0.8em 1.8em;
  border-radius: 25px;
  cursor: pointer;
}

.download-email button:hover {
  border: 2px solid #5569fc;
  font-weight: bolder;
  background-color: #fff;
  color: #5569fc;
  transition: all 200ms ease-in-out;
}

/* --------------------------- */
/* ---------Footer------------ */
/* --------------------------- */

.footer-section {
  padding: 5% 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: baseline;
  background-color: #5569fc;
  color: #fff;
  gap: 2rem;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  font-size: 0.6rem;
  padding-top: 5%;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-right-logos {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 2rem;
}

.logos-list {
  list-style: none;
  padding-top: 5%;
  font-size: 0.6rem;
  flex-direction: row;
  display: flex;
  gap: 2rem;
}

/* BREAKPOINT FOR TABLET */
@media (max-width:768px) {

  html {
    font-size: 10px;
  }

  .logo {
    width: 16%;
  }

  .footer-logo {
    width: 30%;
  }

  .footer-logos {
    width: 12%;
  }

  .download-email form input {
    font-size: 0.9rem;
  }

  .download-btn {
    font-size: 0.9rem;
  }
}

/* BREAKPOINT FOR MOBILE */
@media (max-width:480px) {
  html {
    font-size: 8px;
  }

  header {
    height: 80vh;
  }

  /* -----------Navbar---------------- */
  nav {
    display: none;
  }

  .ham {
    display: block;
    width: 5%;
    filter: brightness(0) invert(1);
  }

  .logo-ham {
    margin: 3% 5% 3% 0%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* -----------Header-text---------------- */
  .hero {
    height: 80%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero [alt="rectangle"] {
    display: none;
  }

  .header-text {
    max-width: 80%;
    float: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .header-image-div {
    width: 50%;
    margin-top: 2rem;
  }

  .header-image {
    width: 100%;
    float: none;
    border-radius: 17px;
  }

  /* ---------Companies--------- */
  .companies {
    max-width: 100%;
    margin-bottom: 10%;
  }

  /* ------------API's------------- */
  .api-heading {
    max-width: 100%;
    text-align: center;
  }

  /* -------------Cards-------------- */
  .cards {
    position: relative;
    margin-top: 4%;
    justify-content: center;
    align-items: center;
  }

  .card-active {
    padding: 30px 5px;
    text-align: center;
  }

  .card {
    padding: 30px 5px;
    text-align: center;
    background: #fff;
    box-shadow: 1px 1px 5px rgba(141, 135, 135, 0.377);
  }

  .arrow {
    position: absolute;
    margin: auto 0;
    bottom: 15%;
    left: 86%;
  }

  /* ------Blog section ------*/

  .blog-cards {
    gap: 5rem;
  }

  .blog-card {
    width: 80%;
    position: relative;
  }

  .blog-image {
    width: 35%;
  }

  .blog-content {
    padding: 0%;
    margin: 4% 6%;
  }

  .blog-bottom img {
    width: 50%;
  }

  .blog-bottom {
    bottom: -12%;
    right: 40%;
  }

  .blog-author {
    width: 57%;
    font-weight: 300;
    font-size: 0.8rem;
  }

  .faq-content h4 {
    max-width: 100%;
  }

  /* --------Download--------- */
  .download-section {
    justify-content: center;
  }

  .download-email form input {
    font-size: 0.8rem;
  }

  .download-btn {
    font-size: 0.8rem;
  }

}