* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
}
header {
  /* background-color: #333; */
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
  background-color: white;
  z-index: 1;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  gap: 35%;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo a span {
  color: #8739fa;
}
.logo{
  display: flex;
  gap: 0;
  align-items: center;
}
.logo img{
  width: 30px;
}
.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.menu a {
  display: block;
  padding: 7px 15px;
  font-size: 17px;
  font-weight: 500;
  transition: 0.2s all ease-in-out;
  color: #240b88;
  text-decoration: none;
}

.menu a:hover {
  color: #333;
}
.menu a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.3s;
}
.menu a:hover::after {
  width: 100%;
}
.menu a.active {
  color: #333;
}
.menu a.active::after {
  width: 100%;
}

.menu-icon {
  display: none;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .menu {
  transform: scale(1, 1);
}

.header button {
  background-color: #240b88;
  color: #fff;
  border: none;
  padding: 0.8rem 1.3rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.header button:hover {
  background-color: #1a0a5f;
}

/* Banner */
.banner {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner__text {
  width: 50%;
  margin: auto;
}
.banner__text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.banner__text p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.banner__text button {
  background-color: #240b88;
  color: #fff;
  border: none;
  padding: 0.8rem 1.3rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.banner__text button:hover {
  background-color: #1a0a5f;
}
.banner__image {
  width: 40%;
  margin: auto;
  position: relative;
}
.banner__image img {
  width: 50%;
}

.banner__image img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(10%, 10%);
}
.banner__image img:nth-child(2) {
  margin-left: 40%;
}

.steps {
  width: 100%;
  align-items: center;
  margin: 3% 0;
}
.steps h1 {
  text-align: center;
  margin: 3% 0;
}
.box__steps {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3% 0;
}
.box__steps__1 {
  width: 30%;
  height: 200px;
  margin-left: 10%;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}
.box__steps__2 {
  border-radius: 15px;
  background: #faf9ff;
  width: 30%;
  height: 200px;
  margin-left: 10%;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3% 0;
  background: #ebe7ff;
  height: 80vh;
}
.docchat {
  width: 40%;
}
.docchat h3 {
  font-size: 1.5rem;
  margin: 3% 0;
}
.docchat h1 {
  font-size: 3.5rem;
  margin: 3% 0;
}
.docchat p {
  font-size: 1.2rem;
  margin: 3% 0;
  width: 456px;
}
.features__img img {
  width: 100%;
  /* height: 40vh; */
}
.testimonial {
  width: 100%;
  background: #faf9ff;
  align-items: center;
  margin: 3% 0;
}
.testimonial h1 {
  text-align: center;
  margin: 3% 0;
  font-size: 1.5rem;
}
.testimonial p {
  margin: 3% 0 1% 10%;
}

.each__testimonial {
  width: 30%;
  height: 200px;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}
.each__testimonial p {
  margin: 3% 0;
  font-size: small;
}
.mySlides {
  display: none;
}
.slide {
  width: 90%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
}

.slide__button {
  background-color: white;
  color: black;
  border: 2px solid black;
  font-size: 1.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.slide__button:hover {
  background-color: #1a0a5f;
  color: white;
}

.prev {
  position: absolute;
  top: 300%;
  margin-top: -22px;
  margin-left: 5%;
  transition: 0.6s ease;
  cursor: pointer;
}
.next {
  position: absolute;
  top: 300%;
  margin-top: -22px;
  margin-left: 90%;
  transition: 0.6s ease;
  cursor: pointer;
}
footer {
  width: 100%;
  background: #4e38a9;
  align-items: center;
}
.download {
  width: 100%;
  background: #ebe7ff;
  align-items: center;
  margin: 3% 0;
}
.download h1 {
  text-align: center;
  margin: 3% 0;
  font-size: 2.5rem;
  font-weight: bolder;
  padding: 6rem 0 0 0;
}
.download__img {
  width: 100%;
  height: 20vh;
  gap: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__menu {
  width: 100%;
  background: #4e38a9;
  color: white;
  padding: 3rem 0;
}
.menuu {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: none;
}
.footer__links ul {
  list-style: none;
  gap: 3rem;
}
.footer__links ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}
.footer__links ul li a:hover {
  color: #333;
}
.footer__social ul {
  list-style: none;
  gap: 1rem;
  display: flex;
}
.footer__social ul img {
  width: 30px;
  height: 30px;
}
.designers {
  width: 100%;
  background: white;
  align-items: center;
  color: black;
  text-align: center;
  padding: 1.2rem 0;
}
.designers p {
  font-size: 1.2rem;
}
.designers strong {
  color: #4e38a9;
}
.designers a {
  text-decoration: none;
  color: #4e38a9;
}

@media only screen and (max-width: 600px) {
  body {
    width: 100%;
  }
  main {
    width: 100%;
    margin-left: 0%;
  }
  .banner {
    flex-direction: column;
  }
  .banner__text {
    width: 90%;
  }
  .banner__text h1 {
    font-size: 2rem;
  }
  .banner__image {
    width: 90%;
    margin-top: 5%;
  }
  .banner__image img:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(10%, 10%);
  }
  .banner__image img:nth-child(2) {
    margin-left: 40%;
  }
  .steps {
    width: 90%;
    margin: auto;
    margin-top: 25%;
  }
  .steps h1 {
    font-size: 1rem;
  }
  .box__steps {
    flex-direction: column;
    width: 90%;
    margin: auto;
  }
  .box__steps__1 {
    width: 100%;
    margin: 3% 0;
  }
  .box__steps__2 {
    width: 100%;
    margin: 3% 0;
  }
  .features {
    flex-direction: column;
    height: 100%;
  }
  .docchat {
    width: 90%;
    margin: auto;
    margin-top: 5%;
  }
  .docchat h3 {
    font-size: 1.2rem;
  }
  .docchat h1 {
    font-size: 2.5rem;
  }
  .docchat p {
    font-size: 1rem;
    width: 100%;
  }
  .features__img img {
    width: 100%;
    height: 40vh;
    margin-top: 4%;
  }
  .testimonial {
    height: 100%;
  }
  .testimonial h1 {
    font-size: 1.2rem;
  }
  .testimonial p {
    margin: 3% 0 1% 10%;
    font-size: 1rem;
    /* text-align: center; */
  }
  .each__testimonial {
    width: 100%;
    height: 200px;
    padding: 5rem 0 0 0;
    border-radius: 5px;
    text-align: center;
  }
  .each__testimonial p {
    margin: 3% 0;
    font-size: small;
  }
  .mySlides {
    display: none;
  }
  .slide {
    width: 90%;
    height: 90vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 5%;
    margin-top: 20%;
    margin-bottom: 50%;
    gap: 3rem;
  }
  .slide__button {
    display: none;
  }
  .prev {
    position: absolute;
    top: 300%;
    margin-top: -22px;
    margin-left: 5%;
    transition: 0.6s ease;
    cursor: pointer;
    display: none;
  }
  .next {
    position: absolute;
    top: 300%;
    margin-top: -22px;
    margin-left: 90%;
    transition: 0.6s ease;
    cursor: pointer;
    display: none;
  }
  
  .footer {
    width: 100%;
    margin: 0;
  }
  .download {
    width: 100%;
    background: #ebe7ff;
    align-items: center;
    margin: 3% 0 3% 0%;
  }
  .download__img {
    width: 100%;
    height: 30vh;
    gap: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .footer__menu {
    width: 100%;
    /* background: #4E38A9; */
    color: white;
    padding: 3rem 0;
    /* margin-left: 5%; */
  }
  .menuu {
    width: 90%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
  }
  .footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: none;
  }
  .footer__links ul {
    list-style: none;
    gap: 3rem;
    margin-top: 5%;
  }
  .footer__links ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
  }
  .designers {
    width: 100%;
    background: white;
    align-items: center;
    color: black;
    text-align: center;
    padding: 1.2rem 0;
    margin-left: 0%;
  }
  .designers p {
    font-size: 0.9rem;
  }
  .designers strong {
    color: #4e38a9;
  }
  .designers a {
    text-decoration: none;
    color: #4e38a9;
  }
}


@media only screen and (max-width: 950px) {
  .menu {
    flex-direction: column;
    background-color: white;
    align-items: start;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 1;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  }

  .menu a {
    margin-left: 12px;
  }

  .header button{
    margin-left: 24px;
  }

  /* .menu li {
    margin-bottom: 10px;
  } */

  .menu-icon {
    display: block;
    color: #240b88;
    font-size: 28px;
    cursor: pointer;
  }
}