* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #040c1a;
  overflow-x: hidden;
  overflow-y: hidden;
  

}

.star {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ffcc;
  border-radius: 50%;
 
  animation: starTrail 3s linear forwards;
}

@keyframes starTrail {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-200px, 200px) scale(0);
    opacity: 0;
  }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0px 40px;
    background-color: #040c1a;
    position: relative;
    margin-top: 10px;
}

.logo {
    z-index: 1;
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0 0 6px #00ffe7, 0 0 10px #00ffe7;
    transform: scale(1.1);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.logo img:hover {
    transform: scale(1.2);
}

nav ul {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    list-style: none;
}

nav ul li a {
    color: #00ffe7;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #00ffe7;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #00ffe7;
    transform: scale(1.02);
}

nav ul li a:hover::after {
    width: 100%;
}

hr {
    margin-left: 30rem;
    margin-right: 30rem;
    background-color: #00ffe7;
    height: 2px;
    border: none;
}


.fourthsection {
    display: flexbox;
    background-color: rgb(160, 234, 239);
    margin: 20px 30px 0 30px;
    border-radius: 30px;
    margin-top: 3rem;
    height: 80vh;
   
}
.fourthsection h1{
    color: #00284e;
    font-size: 2.4rem;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 50px;
}

.PLATFORM {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.PLATFORM img {
    height: 180px;
    width: 180px;
    border-radius: 30px;
    margin-left: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.PLATFORM img:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 15px #040c1a);
    cursor: pointer;
}

/* ===================== TABLETS ===================== */
@media (max-width: 1024px) {
    nav {
      flex-direction: column;
      padding: 10px 20px;
      height: auto;
      gap: 10px;
    }
  
    .logo img {
      width: 45px;
      height: 45px;
      margin-top: 10px;
    }
  
    nav ul {
      position: static;
      transform: none;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
      padding: 10px 0;
    }
  
    nav ul li a {
      font-size: 1rem;
    }
  
    hr {
      margin: 20px auto;
      width: 60%;
    }
  
    .fourthsection {
      margin: 20px;
      padding: 20px;
      height: auto;
    }
  
    .fourthsection h1 {
      font-size: 2rem;
      margin-bottom: 30px;
    }
  
    .PLATFORM {
      gap: 40px;
    }
  
    .PLATFORM img {
      height: 140px;
      width: 140px;
    }
  }
  
  /* ===================== PHONES ===================== */
  @media (max-width: 480px) {
    nav {
      flex-direction: column;
      align-items: center;
      padding: 15px 10px;
      height: auto;
      gap: 10px;
    }
  
    .logo img {
      width: 40px;
      height: 40px;
      margin-top: 5px;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 0;
    }
  
    nav ul li a {
      font-size: 0.95rem;
    }
  
    hr {
      margin: 10px auto;
      width: 70%;
    }
  
    .fourthsection {
      margin: 10px;
      padding: 20px 10px;
      height: auto;
      border-radius: 20px;
    }
  
    .fourthsection h1 {
      font-size: 1.7rem;
      margin-bottom: 25px;
    }
  
    .PLATFORM {
      gap: 25px;
    }
  
    .PLATFORM img {
      width: 100px;
      height: 100px;
    }
  }
  

