/* adding google fonts */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Great+Vibes&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Moon+Dance&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Qwigley&family=Tangerine:wght@400;700&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap");

input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

* {
  font-family: "DM Sans", sans-serif;
}

body {
  background: #ffffff;
}

.founder-img {
  height: 600px;
  border-radius: 20px;
}

.abtImg {
  gap: 30px;
}

.abtImg .empDetail {
  border-radius: 20px;
}

@keyframes upDown {
  0% {
    transform: translateY(1rem);
  }
  50% {
    transform: translateY(-1rem);
  }
  100% {
    transform: translateY(1rem);
  }
}

.updown {
  animation: upDown 3s ease-in-out infinite;
}

@keyframes customSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#ball {
  animation: customSpin 8s linear infinite;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.btn {
  width: fit-content;
  height: max-content;
  gap: 1rem;
  padding: 0.5rem 0.5rem;
  color: white;
  font-weight: 600;
  font-size: medium;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: center;
  background: linear-gradient(
    to right,
    #7b16ec,
    #301155,
    #000000,
    #301155,
    #7b16ec
  );
  background-size: 200%;
  border-radius: 5rem;
  background-position: left;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn:hover {
  background-position: right;
  transform: translateY(-3px);
}

.btn-div {
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#learning-bot {
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(5px) rotate(5deg);
  }
  50% {
    transform: translateY(-5px) rotate(-3deg);
  }
  100% {
    transform: translateY(5px) rotate(5deg);
  }
}

.empPara {
  height: 5rem;
  width: 100%;
  background: linear-gradient(transparent, #000000);
  border-radius: 1rem;
  transition: 0.3s all ease-in-out;
}

.empDetail {
  height: 43.5vh;
  overflow: hidden;
}

.empDetail:hover {
  .empPara {
    display: block;
    transform: translateY(-5rem);
  }
}

.about-bot {
  animation: shake 1s infinite ease;
}

@keyframes shake {
  0% {
    rotate: -6deg;
  }
  50% {
    rotate: 6deg;
  }
  100% {
    rotate: -6deg;
  }
}

@media screen and (max-width: 600px) {
  #slider {
    height: 100vh;
    width: 100%;
    padding: 2rem 2rem;
    background: rgba(8, 0, 0, 0.781);
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    transform: translateX(100%);
    z-index: 999;
    transition: 1s ease-in-out;
  }

  #slider.active {
    transform: translateX(0);
  }

  #close {
    height: 30px;
    width: 30px;
    border: 2px solid #000000;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3%;
    right: 15%;
    font-size: 3rem;
    font-size: 1.6rem;
    color: #000;
    cursor: pointer;
  }

  #close:hover {
    background: #000000;
    color: #ffffff;
  }

  #list {
    height: fit-content;
    width: 80%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    font-family: jakarta;
    font-size: 3rem;
    color: #111;
  }

  #list li {
    list-style: none;
    width: 100%;
    margin-bottom: 7%;
    border-bottom: 2px solid #fff;
    transition: 0.3s ease-in-out;
  }

  #list li a {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.2rem;
  }

  #navbtn {
    display: none;
  }

  .btn {
    padding: 0.5rem 0.3rem;
  }

  .btn-div {
    width: 2rem;
    height: 2rem;
  }

  .ellipse-faded {
    width: 87vw;
    transform: translateY(-3rem);
  }

  .ellipse-bright {
    width: 75vw;
    height: 50vh;
    transform: translate(2.5rem, -4rem);
  }

  .home-card {
    animation: slide 8s ease infinite;
  }

  @keyframes slide {
    0% {
      transform: translateX(20%);
    }
    50% {
      transform: translateX(-180%);
    }
    100% {
      transform: translateX(20%);
    }
  }

  .empPara {
    width: 90%;
    transform: translateY(-5rem);
  }

  .top-gap {
    margin-top: 100px;
  }

  .bottom-gap {
    margin-bottom: 60px;
  }

  /* About us page */

  .founder-img {
    height: auto;
    border-radius: 20px;
  }

  .abtImg .empImg {
    border-radius: 20px !important;
  }

  /* Contact us */

  .helpYou {
    font-size: 24px;
  }
}

.section {
  display: none;
  padding: 40px;
  border-radius: 10px;
  animation: fadeIn 0.7s ease;
}

.section.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#service-button button.active-btn {
  opacity: 100;
}

.blog-section {
  width: 95vw;
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 0.7s ease;
}
