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

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

:root {
  --primary: #817bf3;
  --body-color: #fafafa;
  --nav-color: #133352;
  --side-nav: #11182a;
  --search-bar: #f2f2f2;
  --search-text: #010718;
  --text-color: #11182a;
  --card: #dee2eb;
  --rotate-text: #817bf3;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  height: 100vh;
  background-color: var(--body-color);
  overflow-x: hidden;
}

/* ----switch dark and light---- */
body.dark {
  --primary: #6c63ff;
  --body-color: #082744;
  --nav-color: #3d4145;
  --side-nav: #f5f5f5;
  --search-bar: #6d6a6a;
  --text-color: #e4e9f7;
  --card: #e4e9f7;
  --rotate-text: #133352;
}

/* ----header section---- */
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  background-color: var(--nav-color);
  width: 100%;
  z-index: 1;
}

header .nav-bar {
  position: relative;
  height: 100%;
  /* max-width: 1400px; */
  padding: 0 8%;
  width: 100%;
  background-color: var(--nav-color);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .nav-bar .logo a {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 600;
}
header .nav-bar .logo a::before {
  content: "";
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background-color: var(--text-color);
  position: absolute;
}

.nav-bar .nav-links {
  display: flex;
  align-items: center;
}

.nav-bar .nav-links li {
  margin: 0 5px;
}
.nav-links li a {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: #e0dede;
  padding: 10px;
  text-transform: uppercase;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0.1rem;
  height: 5px;
  width: 35px;
  transform: translateX(50%);
  background-color: var(--text-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-links li:hover a::before {
  opacity: 1;
}

/* -=============Button Popup============= */
.btn-popup {
  width: 80px;
  height: 40px;
  background: transparent;
  border: 1px solid #e4e9f7;
  margin-left: 20px;
  border-radius: 0.4rem;
  color: #f5f5f5;
  outline: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: 0.3s ease-in-out;
}

.btn-popup:hover {
  background: var(--primary);
}
/* -=============Modal Login & Register============= */
.login-register-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 100%; */
  /* height: 100vh; */
  /* background-color: #0000008c; */
}
.wrapper {
  position: relative;
  top: 90%;
  left: 50%;
  width: 400px;
  height: 460px;
  background: transparent;
  border: 2px solid #c5c9d3;
  border-radius: 0.3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, height 0.3s ease-in-out;
  transform: scale(0);
}

.wrapper.active-popup {
  transform: scale(1);
}

.wrapper.active {
  height: 520px;
}

.wrapper .form-container {
  width: 100%;
  padding: 40px;
}

.wrapper .form-container.login {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

.wrapper.active .form-container.login {
  transition: none;
  transform: translateX(-400px);
}

.wrapper .form-container.register {
  position: absolute;
  transition: none;
  transform: translateX(400px);
}
.wrapper.active .form-container.register {
  transition: transform 0.18s ease;
  transform: translateX(0);
}

.wrapper .icon-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  background: #c5c9d3;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  border-bottom-left-radius: 0.5rem;
  z-index: 1;
}

.wrapper .icon-close:hover {
  background-color: crimson;
  color: #f0f0f0;
}

.form-container h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--text-color);
}

.input-control {
  position: relative;
  width: 100%;
  height: 50px;
  border-bottom: 2px solid #e4e9f7;
  margin: 30px 0;
}

.input-control label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  transition: 0.3s ease-in-out;
  color: #fafafa;
}

.input-control input:focus ~ label,
.input-control input:valid ~ label {
  top: -5px;
}

.input-control input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #e4e9f7;
  font-weight: 500;
  padding: 0 35px 0 5px;
}

.input-control .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2rem;
  color: #f2f2f2;
  line-height: 57px;
}

.remember-forgot {
  font-size: 0.75rem;
  color: #e4e9f7;
  font-weight: 400;
  margin: -15px 0 15px;
  display: flex;
  justify-content: space-between;
}

.remember-forgot label input {
  accent-color: var(--nav-color);
  margin-right: 3px;
}

.remember-forgot a {
  color: #e4e9f7;
  font-size: 0.75rem;
}
.remember-forgot a:hover {
  color: #1daa35;
}

.login-btn {
  width: 100%;
  height: 40px;
  border-radius: 0.3rem;
  background-color: #1daa35;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.login-btn:hover {
  background-color: var(--primary);
}

.login-register {
  text-align: center;
  font-weight: 400;
  font-size: 0.75rem;
  color: #e4e9f7;
  margin: 25px 0 10px;
}

.login-register p a {
  font-weight: 500;
  color: #1daa35;
}

.login-register p a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ----Dark-light searchbar----- */
.nav-bar .darkLight {
  display: flex;
  align-items: center;
}
.darkLight .dark-light {
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--body-color);
  margin: 0 7px;
  border-radius: 50%;
  line-height: 70px;
  text-align: center;
  cursor: pointer;
  color: var(--side-nav);
  font-size: 1.2rem;
}

.dark-light.bx-moon {
  transform: rotate(360deg);
  transition: all 0.3s linear;
}

.dark-light i {
  position: absolute;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ----hamburger----- */
.hamburger {
  display: none;
  cursor: pointer;
}
.bar {
  display: block;
  width: 35px;
  height: 3px;
  border-radius: 0.5rem;
  margin: 7px auto;
  background-color: var(--text-color);
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

/* ----Hero Section----- */
/* .hero {
  background-color: #133352;
} */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 auto;
  height: 90vh;
  width: 100%;
  padding: 0 50px;
  max-width: 1400px;
}

.hero-content {
  color: var(--text-color);
}

.hero-title {
  font-size: 3.5rem;
}

.hero-desc {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.hero-btn {
  font-size: 1rem;
  padding: 1rem 2rem;
  background-color: var(--primary);
  border: none;
  border-radius: 0.2rem;
  margin-top: 2rem;
  outline: none;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}
.hero-btn:hover {
  background-color: #423cc2;
  color: #e4e9f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
  text-align: center;
}

.hero-img {
  width: 80%;
  height: 80%;
}

/*=========TEXT CENTER==========*/
/* .section-title {
  position: relative;
  width: 100%;
  text-align: center;
  padding-bottom: 5px;
}
.section-title h2:before {
  position: absolute;
  content: "";
  width: 120px;
  height: 4px;
  background-color: #000;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
}

.section-title h2::after {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  background-color: violet;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
} */

/* ========Rotating Logs======== */
.company-logos {
  overflow: hidden;
  padding: 2.5rem 0;
  background-color: #f6f5f5cd;
  white-space: nowrap;
}
.company-logos:hover .rotating-move {
  animation-play-state: paused;
}
.rotating-move {
  display: inline-block;
  animation: rotate 12s linear infinite;
}
.logo-text {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rotate-text);
  margin: 0 50px;
}
@keyframes rotate {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ========Feature Section======== */
.feature {
  background-color: var(--body-color);
  padding: 100px 20px;
  text-align: center;
}

.feature-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.feature-desc {
  font-size: 2rem;
  color: var(--text-color);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* .feature-container {
} */

.feature-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-item {
  /* background-color: var(--body-color); */
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-item i.icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary);
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  flex-basis: 500px;
  color: var(--primary);
}

/* ========Pricing Section======== */
.price {
  text-align: center;
  padding: 0 8%;
  z-index: 1;
}

.pricing-title {
  margin-bottom: 2rem;
  color: var(--text-color);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.toggle-container {
  display: flex;
  align-items: center;
}

.pricing-toggle .toggle-option {
  margin: 0 0.5rem;
  font-size: 1rem;
  color: #6c63ff;
}

.pricing-toggle .save-procentage-container {
  width: 100px;
  display: flex;
  justify-content: center;
}

.card-price {
  color: #6d6a6a;
}

.card-price .price {
  font-size: 1.8rem;
  color: #000;
  margin: 1rem 0;
  font-weight: 500;
}

.prices-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.prices-card {
  background-color: #f0f0f0;
  padding: 2rem;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.prices-card:hover {
  background-color: var(--primary);
  color: var(--text-color);
}

.prices-card ul {
  padding: 0;
  list-style: none;
  text-align: left;
  margin-bottom: 1rem;
}

.price-btn {
  display: inline-block;
  background-color: var(--primary);
  border: none;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.price-btn:hover {
  background-color: #423cc2;
  color: #e4e9f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#small-desc {
  color: #949494;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.card-content {
  flex-grow: 1;
  text-align: center;
}
.card-content h3 {
  font-size: 1.7rem;
  text-align: center;
}

.card-features {
  text-align: left;
}

.card-features ul li {
  font-size: 1rem;
  color: #949494;
}

.save-procentage {
  font-size: 1rem;
  font-weight: 500;
  color: #1daa35;
}

/* -------Hidden Button----- */
.save-procentage {
  display: none;
}
.hidden {
  display: none;
}
/* -------Switch Button----- */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #c5c9d3;
  transition: all 0.3s ease-in-out;
  border-radius: 1.5rem;
}

.slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 2px var(--primary);
}
input:checked + .slider {
  transform: translateX(30px);
}

/* ========Footer========= */
.footer-container {
  background-color: var(--body-color);
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 0.5px solid rgba(240, 240, 240, 0.042);
}

#footer-logo {
  color: var(--primary);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}
.footer-links-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-content: center;
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-link-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 160px;
}

.footer-link-item h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-link-item a {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.footer-link-item a:hover {
  color: var(--primary);
  transition: all 0.3s ease-in-out;
}

.social-media {
  max-width: 1000px;
}

.social-media-wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  width: 90%;
  margin: 40px auto 0 auto;
}

.copyright {
  color: var(--text-color);
}
.social-icons {
  display: flex;
  justify-content: space-between;
  width: 240px;
}
.social-icon-link {
  color: var(--primary);
  font-size: 1.5rem;
}

/* =============FAQs============== */
.faqs {
  padding: 0 8%;
  text-align: center;
  margin-bottom: 2rem;
}
.faqs .container h2 {
  margin-bottom: 2rem;
  color: var(--text-color);
  margin-top: 2rem;
}
.container .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.container .content article {
  padding: 2rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 1.5rem;
  height: fit-content;
  /* background-color: #6c63ff; */
  cursor: pointer;
  background-color: #e6e3e3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.container .content article h4 {
  color: #091940;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: left;
}

.container .content article p {
  color: var(--text-color);
  text-align: left;
  margin-top: 1rem;
  display: none;
}
.faqs .container article.default-open p {
  display: block;
}
.container .content article i {
  color: var(--primary);
}
.faqs .container a.faqs-btn {
  display: inline-block;
  font-size: 1rem;
  padding: 1rem 2rem;
  background-color: var(--primary);
  border: none;
  border-radius: 0.2rem;
  margin-top: 2rem;
  outline: none;
  cursor: pointer;
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}
.faqs .container .faqs-btn:hover {
  background-color: #423cc2;
  color: #e4e9f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ================Scroll To Top============== */
#scroll-to-top {
  /* background-color: var(--nav-color); */
  position: fixed;
  right: 10px;
  bottom: 20px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#to-top {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  background-color: #f5f5f5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #3d4145;
}

/* ========Media Query========= */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    height: 100vh;
    width: 350px;
    right: -350px;
    top: 0;
    background-color: #0000008c;
    transition: 0.3s linear;
  }

  .nav-bar .nav-links {
    flex-direction: column;
    padding-top: 60px;
  }

  .nav-links li a {
    display: block;
    margin-top: 1.5rem;
  }
  .menu.active {
    right: 0;
  }
  .nav-bar .darkLight {
    z-index: 1;
  }

  /* ======Hero Section======= */
  .hero-container {
    grid-template-columns: 1fr;
    height: auto;
    padding: 120px 0;
  }
  .hero-content {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-top: 2rem;
  }

  .hero-desc {
    margin-top: 0.9rem;
    font-size: 0.9rem;
  }

  /* ======Feature Section======= */
  .feature-title {
    font-size: 1.9rem;
  }
  .feature-desc {
    font-size: 1rem;
  }
  /* ======FAQS Section======= */
  .container .content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .social-media-wrap {
    flex-direction: column;
  }
}

@media (max-width: 468px) {
}
