* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Kumbh Sans", sans-serif;
  overflow-x: hidden;
}

/* Navbar CSS */

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  background-color: black;
  z-index: 1000; /*this is the layering of the items on the screen. This will mean that the navbar is always on top*/
  width: 100%; /*expand width to the size of the screen*/
  margin: 0px auto;
  padding: 0px 50px;
  position: fixed;
}

#navbar-logo {
  color: #0ce48d;
  cursor: pointer;
  text-decoration: none;
  font-size: 2rem; /*a rem is a relative unit that is relative to the font-size of the root element (the <html> element for .html)*/
}

.navbar__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto; /*auto horizontally centers the element (navbar__menu) within its container (navbar__container)*/
}

.navbar__item {
  height: 80px;
}

.navbar__links {
  display: flex;
  color: white;
  text-decoration: none;
  height: 100%;
  padding: 0 1rem;
  align-items: center;
  font-size: 1rem;
}

.navbar__links:hover {
  color: #0ce48d;
  transition: all 0.3s ease;
}

.navbar__btn {
  display: flex;
  align-items: center;
}

.navbar__btn.mobile {
  display: none;
}

.navbar__btn.desktop {
  display: flex;
}

.button {
  background: #0ce48d;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.button:hover {
  background: #15b856;
  transition: all 0.3 ease;
}

.navbar__toggle {
  display: none;
}

/* Changes format for all devices w/ screens <= 768px wide*/
@media screen and (max-width: 768px) {
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 10;
    font-size: 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
  }

  .navbar__menu {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100% - 80px);
    opacity: 0;
    transition: all 0.5s ease;
    background: #131313;
    z-index: 10;
    margin: 0;
  }

  .navbar__menu.active {
    left: 0;
    opacity: 1;
  }

  .navbar__item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  /* Sign Up button */
  .navbar__btn.desktop {
    display: none;
  }
  .navbar__btn.mobile {
    display: flex;
    justify-content: center;
    padding: 0.8rem;
    width: 100%;
  }
  .button {
    width: 80%;
    height: 3.4rem;
    justify-content: center;
  }
}

/* Hero CSS */

.hero {
  background-color: #141414;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 auto;
  height: 90vh;
  width: 100%;
  padding: 0 50px;
  max-width: 1300px;
}

.hero__content {
  color: white;
}

.hero__content h1 {
  font-size: 4rem;
}

.hero__content p {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.hero__btn {
  font-size: 1rm;
  background: #0ce48d;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  color: white;
  margin-top: 2rem;
  cursor: pointer;
  outline: none;
  font-size: 1rem;
}

.hero__btn:hover {
  background: #15b856;
  transition: all 0.3 ease;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero__image {
  text-align: center;
}

#hero-pic-1 {
  width: 80%;
  height: 80%;
}

/* Hero Mobile Responsiveness CSS */
@media screen and (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
    height: auto;
    padding: 100px 0px;
  }

  .hero__content {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
  }

  .hero__content h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
  }

  .hero__content p {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero__container {
    width: 100vw;
    padding: 60px 0px;
  }

  .hero__content h1 {
    font-size: 2rem;
    margin-top: 3rem;
  }

  .hero__btn {
    padding: 12px 36px;
    margin: 2.5rem 0;
  }
}

/* Carousel CSS */

.carousel {
  overflow: hidden;
  padding: 40px 0;
  background: hsl(0, 0%, 97%);
  white-space: nowrap;
  font-size: 0px; /* there was a whitespace gap between the two tracks, this removes it*/
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 5%,
    hsl(0 0% 0% / 1) 95%,
    hsl(0 0% 0% / 0)
  );
}

.carousel:hover .carousel__track {
  animation-play-state: paused;
}

.carousel__track {
  display: inline-block;
  animation: rotate 12s infinite linear;
}

.card {
  font-size: 40px;
  font-weight: bold;
  color: #2b302d;
  margin: 0 40px;
}

@keyframes rotate {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Why Choose Us CSS */
.benefits {
  background-color: #0abf77;
  padding: 100px 20px;
  text-align: center;
}

.benefits__title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.benefits__intro {
  font-size: 2rem;
  color: white;
  max-width: 1000px;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.benefits__item {
  background-color: black;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  max-width: 300px;
}

.benefits__item__icon {
  font-size: 2.5rem;
  padding: 5px;
  color: white;
  margin-bottom: 50px;
}

.benefits__item__title {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
}

.benefits__item__text {
  font-size: 1rem;
  color: white;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .benefits__grid {
    flex-direction: column;
    align-items: center;
  }
  .benefits__item {
    max-width: 100%;
  }
  .benefits__intro {
    font-size: 1.5rem;
  }
}

/* Pricing CSS */

.pricing {
  text-align: center;
  padding: 2rem 1rem;
  z-index: 1;
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 2rem;
  gap: 1rem;
}

.pricing__toggle .toggle__container {
  display: flex;
  align-items: center;
}

.pricing__toggle .toggle__option {
  margin: 0 0.5rem;
  font-size: 1rem;
  color: white;
}

.pricing__toggle .savings__container {
  width: 100px;
  display: flex;
  justify-content: center;
}

.pricing__toggle .savings {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0ce48d;
  display: none;
}

.toggle__switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

#pricing__switch {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

#pricing__switch:checked + .slider {
  background-color: #0ce48d;
}

#pricing__switch:focus + .slider {
  box-shadow: 0 0 1px #0ce48d;
}

#pricing__switch:checked + .slider:before {
  transform: translateX(30px);
}

/* pricing cards */

.pricing {
  background: black;
  padding: 100px 0px;
}

.pricing__intro {
  color: white;
  font-size: 4rem;
  margin-bottom: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.pricing__container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
}

.pricing__card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
  width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.card__container {
  flex-grow: 1;
}

.card__header {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.pricing__card p {
  margin-bottom: 1rem;
}

.card__features ul {
  padding: 0;
  text-align: left;
  margin-bottom: 1rem;
}

.pricing__card li {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.card__pricing {
  text-align: center;
  margin-bottom: 24px;
}

.card__pricing .price {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #333333;
}

.price__btn {
  display: inline-block;
  background-color: #0ce48d;
  border: none;
  color: white;
  padding: 0.75rem 2.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  text-decoration: none;
  width: 100%;
  transition: 0.3s ease;
}

.price__btn:hover {
  background-color: #0ba467;
}

.small-desc {
  font-size: 1rem;
  color: #999999;
  text-align: center;
  padding: 8px 0;
}

.card__features {
  text-align: left;
}

.card__features p {
  font-size: 1.5rem;
  font-style: bold;
}

.card__features ul li {
  font-size: 1rem;
  color: #7c7c7c;
}

.pre__discounted__price {
  text-decoration: line-through #0ce48d 3px;
}

.discounted__price {
  font-weight: bold;
}
.hidden {
  display: none;
}

@media screen and (max-width: 540px) {
  .pricing__card {
    width: 90%;
  }
}

/* Footer CSS */

.footer__container {
  background: #131313;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer-logo {
  color: #0ce48d;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer__links {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.footer__link-wrapper {
  display: flex;
  width: 320px;
  max-width: 50%;
}

.footer__link-items {
  display: flex;
  margin: 16px;
  flex-direction: column;
  text-align: left;
  width: 100%;
  max-width: 160px;
}

.footer__link-items h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #0ce48d;
}

.footer__link-items a {
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer__link-items a:hover {
  color: #0ce48d;
  transition: 0.3s ease-out;
}

.social__media {
  max-width: 1000px;
  width: 100%;
}

.social__media-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 40px auto 0 auto;
}

.website__rights {
  color: white;
}

.social__icons {
  display: flex;
  justify-content: space-between;
  width: 240px;
}

.social__icon-link {
  color: #0ce48d;
  font-size: 24px;
  margin: 5px;
}

@media (hover: hover) {
  .social__icon-link:hover {
    animation: fa-beat 1s infinite;
  }
}

@media screen and (max-width: 768px) {
  .footer__links {
    padding-top: 2rem;
  }

  .footer__link-wrapper {
    flex-direction: column;
    width: auto;
  }

  .social__media-wrap {
    flex-direction: column;
  }

  #footer-logo,
  .website__rights {
    margin-bottom: 1rem;
  }

  .social__media {
    text-align: center;
  }

  .footer__link-items {
    width: 100%;
    padding: 10px;
  }
}

.credit {
  max-width: 1000px;
  width: 100%;
}

.credit-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: 40px auto 0 auto;
}

.credit-wrapper h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #0ce48d;
  text-align: center;
}

.credit-wrapper a {
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.credit__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 350px;
  max-width: 100%;
}
.credit__links a:hover {
  color: #0ce48d;
  transition: 0.3s ease-out;
}

.credit__social {
  display: flex;
  align-items: center;
}
