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

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/*---------global------*/
.container {
  max-width: 90%;
  margin: auto;
}

a {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

ul {
  list-style: none;
}

.flex {
  display: flex;
}

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

i {
  cursor: pointer;
  transition: 0.5s;
}


button {
  transition: all 0.3s ease-in-out;
}

/*---------global------*/
/*---------header------*/
.about {
  height: 800vh;
}

.header {
  position: relative;
}

.header::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100vh;
  top: 0;
  background-image: url("../image/home_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

.logo img {
  width: auto;
}

header .navbar {
  align-items: center;
  transition: 0.5s;
}

header nav ul {
  display: inline-block;
  font-size: 16px;
}

header nav ul li a {
  color: white;
  transition: all 300ms ease-in-out;
}

header nav ul li {
  margin-right: 40px;
  display: inline-block;
}

header .navbar span {
  text-align: center;
  margin-left: 20px;
  color: white;
  font-size: 25px;
  display: none;
}

#palybtn {
  background: #E50916;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
}

button {
  background: none;
  border: none;
  outline: none;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  padding: 12px 30px;
  cursor: pointer;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header.sticky {
  z-index: 9999;
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  transition: 0.5s;
  height: 10vh;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}

header.sticky button {
  color: #5D58F7;
  border: 2px solid #5D58F7;
}

header.sticky li a {
  color: #5D58F7;
}


header.sticky button:hover {
  color: #5D58F7;
  transform: translateY(-2px);
}

@media only screen and (max-width:768px) {
  header nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    overflow: hidden;
    transition: max-height 0.5s;
    z-index: 100;
    border-radius: 20px;
    box-shadow: 0 20px 51px 9px rgb(0 0 0 / 8%);
  }

  header nav ul li {
    display: block;
    margin: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  header nav ul li a {
    color: black;
  }

  header .navbar span {
    color: white;
    display: block;
    cursor: pointer;
  }

  header button {
    display: none;
  }

  header.sticky .navbar span {
    color: black;
  }
}

/*----------home---------*/
.btn1 {
  background: #5D58F7;
  padding: 18px 50px
}

.btn2 {
  color: grey;
  margin-left: 20px
}

.btn1:hover {
  color: white;
}

.btn2:hover {
  color: #5D58F7;
  border-color: #5D58F7;
}

.left, .right {
  width: 50%;
}

.home .left {
  margin-top: 12%;
}

.home h1 {
  font-weight: 300;
  font-size: 60px;
  line-height: 70px;
}

.home p {
  margin: 40px 0 40px 0;
  font-size: 20px;
  opacity: 0.5;
}

.home .right img {
  width: 100%;
  height: 100%;
}

/*----------home---------*/
/*----------Overview---------*/
.top {
  margin-top: 100px;
}

.mtop {
  margin-top: 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.Overview {
  text-align: center;
  background-image: url("../image/over.png");
  background-size: contain;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
}

.Overview .container {
  background: white;
  box-shadow: 0 20px 51px 9px rgb(0 0 0 / 8%);
  border-radius: 5px;
  padding: 100px;
}

.heading h1 {
  font-size: 35px;
  font-weight: 400;
  text-align: center;
}

.heading p {
  margin: 20px 0 20px 0;
  text-align: center;
}

p {
  opacity: 0.5;
  font-weight: 400;
}

.Overview .content .img {
  position: relative;
}

.Overview .content i {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  font-size: 50px;
  color: white;
}

.Overview h3 {
  font-weight: 300;
  margin: 20px 0 20px 0;
}

/*----------Overview---------*/
/*----------Functionalities---------*/
.function {
  text-align: center;
}

.function .left {
  text-align: left;
  padding: 15% 5% 0 0;
}

.function i {
  font-size: 50px;
  color: #FB8C17;
}

.function h3 {
  font-weight: 400;
  font-size: 22px;
  margin: 20px 0 20px 0;
}

.function p {
  margin-bottom: 20px;
  line-height: 30px;
}

.function a {
  text-decoration: underline;
  color: black;
}

.function .right {
  position: relative;
}

.function img {
  margin-top: 50px;
  border-radius: 30px;
  box-shadow: 0 20px 51px 9px rgb(0 0 0 / 8%);
}

.function .content .right::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("../image/f2.png");
  background-repeat: no-repeat;
  background-size: contain;
  height: 100vh;
  z-index: -1;
}

.function .fun_content .flex:nth-child(2) {
  flex-direction: row-reverse;
}

.fun_content .content:nth-child(2) .right::after {
  background-image: url("../image/f4.png");
}

.fun_content .content:nth-child(3) .right::after {
  background-image: url("../image/f6.png");
}

/*----------Functionalities---------*/
/*----------Features---------*/
.Features .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.Features {
  background: #F8F8FF;
  padding: 50px 0 50px 0;
}

.Features .img {
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: #5D58F7;
  border-radius: 50%;
  font-size: 25px;
  color: white;
}

.Features .box:nth-child(2) .img {
  background: #3ECBF8;
}

.Features .box:nth-child(3) .img {
  background: #D56DFC;
}

.Features .box:nth-child(4) .img {
  background: #24E271;
}

.Features h3 {
  font-weight: 400;
  margin: 20px 0 20px 0;
}

.Features .right {
  position: relative;
}

.Features .right .image {
  background-image: url("../image/fe1.png");
  background-size: cover;
  background-repeat: no-repeat;
  top: -20%;
}

/*----------Features---------*/
/*----------dowload---------*/
.dowload {
  background-image: url("../image/d2.jpg");
  background-size: cover;
  color: white;
  padding-top: 30px;
}

.dowload h1 {
  font-size: 40px;
  font-weight: 400;
  margin-top: 25%;
}

.dowload p {
  margin: 30px 0 30px 0;
}

.dowload .box {
  border: 2px solid white;
  margin-right: 30px;
  padding: 5px 40px 5px 40px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.dowload .box:hover {
  transform: translateY(-5px); 
}

.dowload h2 {
  font-weight: 400;
  font-size: 20px;
}

.dowload span {
  font-size: 12px;
}

.dowload i {
  font-size: 50px;
  margin-right: 30px;
}

/*----------dowload---------*/
/*----------team---------*/
.team {
  text-align: center;
  margin-bottom: 50px;
}

.team .content {
  grid-template-columns: repeat(4, 1fr);
}

/*----------team---------*/
/*----------footer---------*/
footer {
  background: #2A2A2A;
  padding: 70px 0 70px 0;
  color: white;
}

footer .grid {
  grid-template-columns: repeat(4, 1fr);
}

footer h3 {
  margin-bottom: 30px;
  font-weight: 400;
}

footer p {
  margin: 20px 0 20px 0;
}

footer i {
  margin-right: 20px;
  opacity: 0.5;
}

footer button {
  opacity: 0.5;
  margin: 5px;
}

footer ul li {
  margin-bottom: 20px;
  opacity: 0.5;
}

/*----------footer---------*/

a:hover {
  color: #5D58F7;
  text-decoration: underline;
}


header nav ul li a:hover {
  text-decoration: underline; 
  color: inherit;
}


.function a:hover {
  color: #FB8C17;
  text-decoration: none;
  border-bottom: 2px solid #FB8C17;
}

footer button:hover {
  color: white;
  opacity: 1;
  transform: scale(1.1);
}

@media only screen and (max-width:768px) {
  .left, .right {
    width: 100%;
  }

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

  .dowload .container,
  .Features .content,
  .function .fun_content .flex:nth-child(2),
  .function .flex {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr)
  }

  .function {
    margin-top: 50%;
  }

  .dowload img {
    margin-top: 30px;
  }

  footer .grid,
  .team .grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media only screen and (max-width:412px) {
  .function {
    margin-top: 220%;
  }

  .dowload img,
  .Features img,
  .function img {
    width: 100%;
    height: 100%;
  }

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

  .dowload .box.flex {
    flex-direction: row;
    margin-bottom: 20px;
  }

  .Features {
    text-align: center;
  }

  .Features .img {
    margin: auto;
  }

  .Features .grid,
  footer .grid {
    grid-template-columns: repeat(1, 1fr)
  }
}