* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  height: 100%;
  width: 100%;
  font-family: "Roboto", sans-serif;
  hyphens: auto;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit; /* Inherit the color from the parent */
}
#main {
  height: 100%;
  width: 100%;
}
nav {
  z-index: 1000;
  background: white;
  width: 100vw;
  height: 5rem;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 0 2rem 0 2rem;
}
nav .nav-container {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  align-items: center;
}
nav .nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
nav .nav-menu li a {
  color: #000000;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  margin: 0 10px;
  transition: border-bottom 0.4s ease-in-out;
}
nav .nav-menu li a:hover {
  border-bottom: 4px solid #ed2326;
  padding: 4px 0;
}
nav .nav-menu li a.active {
  border-bottom: 4px solid #ed2326;
}
nav .logo-container {
  display: flex;
  justify-content: center;
  text-align: center;
}
nav .logo {
  width: 280px;
  height: auto;
}
nav .nav-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
}
nav .nav-icons .icon {
  color: #000000;
  cursor: pointer;
  font-size: 44px;
  transition: transform 0.2s, box-shadow 0.2s;
}
nav .nav-icons .icon:hover {
  transform: translateY(-5px);
}
nav button {
  display: none;
  background-color: transparent;
}
.navbar.scrolled {
  box-shadow: 0px 25px 20px -20px rgba(237, 35, 38, 0.45);
}

/* landing page */

#landing {
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 50% 50%;
  padding-top: 80px;
  padding-bottom: 2rem;
}
#landing-left {
  grid-area: 1/1/3/2;
  margin: 10% 5% 0 5%;
}
#landing-left h1 {
  font-family: "Audiowide", sans-serif;
  font-size: 3vw;
  text-transform: uppercase;
  line-height: 2.5;
  letter-spacing: 5px;
  font-weight: 500;
}
#landing-left h1:nth-child(2) {
  text-align: center;
}
#landing-left h1:nth-child(3) {
  text-align: end;
}
#landing-left .typewriter-text {
  margin: 6vh 0;
}
#landing-left .dynamic-text,
.static-text {
  font-family: "Audiowide", sans-serif;
  font-size: 2.5vw;
  font-weight: normal;
}
#landing-right {
  grid-area: 1/2/3/3;
  align-self: center;
}
#landing-right video {
  max-width: 100%;
  max-height: 100%;
}

/* unlock sections */

#unlock-solutions {
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  place-items: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
  background-image: url("https://res.cloudinary.com/wasimmohammad/image/upload/v1710100699/CyborgwaveNew/landingpage/solutions_knrro0.jpg");
}
#unlock-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#unlock-left h1 {
  margin: 3rem;
  font-size: 40px;
}
#unlock-left .solution-concepts {
  width: 80%;
  border-bottom: 2px solid #000000;
  display: flex;
  align-items: center;
  margin: 12px 0;
}
#unlock-left .solution-concepts i {
  color: #ed2326;
  font-size: 20px;
  width: 20px;
  height: 20px;
  margin: 12px 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#unlock-left .solution-concepts p {
  font-size: 16px;
  margin: 12px 5px;
  text-transform: uppercase;
  font-weight: 600;
}
#unlock-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
#unlock-right img {
  height: 90vh;
  filter: drop-shadow(0 0.3rem 0.3rem rgba(0, 0, 0, 0.5));
}

/* Services */

#services {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
#services h1 {
  text-align: center;
  padding: 16px;
  font-size: 3vw;
}
#services p {
  text-align: center;
  padding: 16px;
  font-size: 20px;
  font-weight: 600;
}
#services-layout {
  width: 100%;
  height: 50vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 10px 0 55px 0;
}
#services-layout .items img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#services-layout .items h1 {
  font-size: 20px;
  padding: 10px;
  text-align: center;
}

/* clients */

#clients {
  margin-bottom: 2rem;
}
#clients h1 {
  text-align: center;
  padding: 16px;
  font-size: 3vw;
}
#clients .logos {
  overflow: hidden;
  padding: 30px 0;
  white-space: nowrap;
  position: relative;
}
#clients .logos:before,
#clients .logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}
#clients .logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}
#clients .logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}
#clients .logos:hover .logos-slide {
  animation-play-state: paused;
}
#clients .logos-slide {
  display: inline-block;
  animation: slide 30s infinite linear;
}
#clients .logos-slide .client-logo {
  height: 60px;
  width: auto;
  margin: 0 40px;
}
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* footer */

#footer {
  width: 100%;
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 1rem 0 1rem 0;
  background: linear-gradient(to right, #d2edff, #a2dcf1, #d2edff);
}
#footer #footer-content {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
#footer #footer-first-column {
  display: grid;
  gap: 10px;
}
#footer #footer-first-column .logo {
  width: 280px;
  height: auto;
}
#footer #footer-first-column h1 {
  font-size: 24px;
}
#footer #footer-first-column #socials {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 0 0;
}
#footer #footer-first-column #socials a {
  color: #000000;
}
#footer #footer-first-column #socials .fa-brands {
  font-size: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}
#footer #footer-first-column #socials .fa-brands:hover {
  transform: translateY(-5px);
}
#footer #footer-second-column .info-item {
  display: flex;
  align-items: center;
}
#footer #footer-second-column .info-item i {
  width: 36px;
  height: 36px;
  font-size: 20px;
  padding: 8px 0;
  margin-right: 8px;
}
#footer #footer-second-column .info-item p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
#footer #footer-third-column ul {
  margin-top: 5px;
}
#footer #footer-third-column li a {
  display: inline-block;
  height: 36px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 600;
}
hr {
  border: 1px solid black;
  width: 90%;
  justify-content: center;
}

@media screen and (max-width: 600px) {
  nav {
    padding: 0 16px;
  }
  nav .nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  nav .nav-menu {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 4rem;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0 16px;
    overflow: hidden;
  }
  nav .nav-menu li {
    width: 80%;
    height: 5rem;
    animation: animateNavItems 400ms linear forwards;
  }
  nav .nav-menu li:nth-child(2) {
    animation-delay: 200ms;
  }
  nav .nav-menu li:nth-child(3) {
    animation-delay: 400ms;
  }
  nav .nav-menu li:nth-child(4) {
    animation-delay: 600ms;
  }
  @keyframes animateNavItems {
    0% {
      -webkit-transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
    }

    100% {
      -webkit-transform: rotateZ(0) rotateX(0) scale(1);
      opacity: 1;
    }
  }
  nav .nav-menu li a {
    border-radius: 10px;
    color: black;
    height: 100%;
    display: grid;
    place-items: center;
    border: black solid 2px;
    letter-spacing: 5px;
  }
  nav .logo {
    width: 230px;
  }
  nav .nav-icons {
    display: none;
  }
  nav button {
    display: inline-block;
    cursor: pointer;
    color: #000000;
    font-size: 24px;
  }
  nav button#close-menu-btn {
    display: none;
  }
  #landing {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  #landing-left {
    margin: 10%;
  }
  #landing-left h1 {
    font-size: 5vw;
  }
  #landing-left .typewriter-text {
    margin: 1vh 0;
  }
  #landing-left .dynamic-text,
  .static-text {
    font-family: "Audiowide", sans-serif;
    font-size: 4.5vw;
    font-weight: 500;
  }
  #landing-right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #landing-right video {
    max-height: auto;
    max-width: 90vw;
  }
  #unlock-solutions {
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
    place-items: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
  }
  #unlock-left h1 {
    margin: 3rem;
    font-size: 7vw;
    text-align: center;
  }
  #unlock-left .solution-concepts {
    width: 90%;
    border-bottom: 2px solid #000000;
    display: flex;
    align-items: center;
    margin: 12px 0;
  }
  #unlock-left .solution-concepts i {
    color: #ed2326;
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin: 12px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #unlock-left .solution-concepts p {
    font-size: 14px;
    margin: 12px 5px;
    text-transform: uppercase;
    font-weight: 600;
  }
  #unlock-right img {
    width: 90vw;
    height: auto;
  }
  #services h1 {
    text-align: center;
    padding: 16px;
    font-size: 7vw;
  }
  #services-layout {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    gap: 55px;
    margin: 10px 0 55px 0;
  }
  #footer #footer-content {
    width: 90%;
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
  }
  #clients h1 {
    text-align: center;
    padding: 16px;
    font-size: 7vw;
  }
  #clients .logos:before {
    left: 0;
    background: none;
  }
  #clients .logos:after {
    right: 0;
    background: none;
  }
}
