.main__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 10px 30px;
  color: #000;
}

.main__list {
  position: fixed;
  z-index: 10;
  flex-direction: column;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #333;
  transition: 0.3s;
  opacity: 0;
}

.main__list.active {
  left: 0;
  opacity: 1;
}

.main__list li {
  margin: 20px 0;
  padding: 0px 30px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main__hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1005;
  /* display: none; */
}

.main__hamburger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Turn the hamburger button to an X */
.main__hamburger-btn.active .bar:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}

.main__hamburger-btn.active .bar:nth-of-type(2) {
  opacity: 0;
}

.main__hamburger-btn.active .bar:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main__content {
  margin-top: 126px;
  margin-left: 24px;
  color: #FFF;
  font-style: normal;
  line-height: normal;

}

.title {
  font-size: 36px;
  transition: 300ms all;
}

.detail {
  margin-top: 7px;
  font-size: 12px;
  transition: 300ms all;
}

.footer {
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 15px;
  background: #1A1A1A;
  color: #fff;
}

.footer__heading {
  display: inherit;
  flex-direction: inherit;
  gap: 30px;
  margin-bottom: 30px;
}

.footer__header {
  color: #FFF;
  font-weight: bold;
  font-size: 25px;
  width: 200px;
  height: 75px;
  margin-bottom: 15px;
}

.footer__header p {
  font-size: 30px;
}

.footer__address-par {
  margin-bottom: 15px;
}

.footer__button {
  width: 210px;
  height: 50px;
  background: rgba(217, 217, 217, 0.00);
  transition: 300ms all;
  margin-top: 20px;
  border: 1px solid #fff;
  color: #fff;
}

.footer__button:hover {
  color: #000;
  background-color: #fff;
}

.footer__enquery {
  margin-bottom: 15px;
}

.footer__par {
  color: rgba(87, 85, 85, 0.95);
  font-size: 15px;
}

.footer__privacy p {
  color: rgba(87, 85, 85, 0.95);
  margin-bottom: 15px;
}

.footer__copyright {
  color: #FFF;
  font-size: 12px;
  font-weight: 400;
}

.grey {
  color: rgba(87, 85, 85, 0.95);

}

.modal {
  position: fixed;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
  z-index: 10;
  inset: 0;
  padding: 15px;
  background: #1A1A1A;
  color: #fff;
  animation: modal-slide-in 0.3s ease-in-out;
}

.modal div {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.modal div input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid white;
  color: #fff;
}

.close-icon {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.close-icon::before,
.close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #585858;
  transform: translate(-50%, -50%);
}

.close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.fade-in {
  opacity: 0;
  /* Elements are initially hidden */
  transform: translateY(30px);
  transition: all 0.5s ease-in-out;
  /* Smooth fade-in effect */
}

.fade-in.visible {
  transform: translateY(0);
  opacity: 1;
  /* Elements become visible when the class is added */
}


@media (min-width: 768px) {
  .footer {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #1A1A1A;
    color: white
  }

  .footer__heading {
    display: inherit;
    flex-direction: inherit;
    padding: 20px 300px 10px 305px;
    gap: 10px;
    margin-bottom: 30px;
  }
}

@media (min-width:992px) {
  .main__list li a {
    color: #000;
  }

  .main__content {
    margin-top: 150px;
    margin-left: 225px;

  }

  .title {
    font-size: 70px;
  }

  .detail {
    font-size: 15px;
  }

  .main__hamburger-btn {
    display: none;
  }

  .main__list {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100%;
    left: 0;
    opacity: 1;
    gap: 20px;
    width: auto;
    background-color: transparent;
  }

  .main__list li {
    opacity: 1;
  }

  .nav-list li {
    margin: 20px 0;
  }

  .about {
    padding: 60px 250px;
    gap: 30px;
  }

  .about__content {
    display: flex;
    flex-direction: row;
  }

  .projects {
    height: 100vh;
    gap: 0px
  }

  .projects__card {
    height: 100%;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .marketing {
    height: 500px;
    align-self: self-end;
  }

  .modal {
    padding: 0px 200px;
  }
}

#staggeredText {
  white-space: pre-wrap;
}

#staggeredText span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}