/* Reset & Base Styles */
* {
    padding: 0;
    margin: 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;
  }
}
/* Navigation Bar */
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;
    margin-top: 15px;
}

.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;
}

.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;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: initial;
}

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 {
    transform: scale(1.02);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Horizontal Rule */
hr {
    margin: 0 auto;
    width: 40%;
    background-color: #00ffff;
    height: 2px;
    border: none;
    margin-top: 5px;
}

/* About Section */
.main-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 0px;
}

.firstsection {
    background-color: rgb(160, 234, 239);
    border-radius: 40px;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    color: #000;
    box-shadow: 0 10px 25px rgba(129, 209, 249, 0.274);
}

.firstsection h1 {
    color: #00284e;
    font-size: 2.9rem;
    text-align: center;
    margin-bottom: 10px;
    font-family: initial;
}

.divider {
    height: 2px;
    margin: 0 auto 30px auto;
    width: 60%;
    background-color: rgb(177, 157, 157);
}

.firstsection .content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.firstsection p {
    flex: 1;
    font-size: 22px;
    line-height: 1.9;
    font-family: 'poppins', sans-serif;
}

.firstsection img {
    width: 350px;
    max-width: 100%;
    height: auto;
}

/* ===================== TABLETS ===================== */
@media (max-width: 1024px) {
    nav {
      flex-direction: column;
      height: auto;
      padding: 10px 20px;
      gap: 10px;
    }
  
    nav ul {
      position: static;
      transform: none;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
    }
  
    nav ul li a {
      font-size: 1rem;
    }
  
    .logo img {
      width: 45px;
      height: 45px;
    }
  
    .firstsection {
      padding: 1.5rem;
    }
  
    .firstsection h1 {
      font-size: 2.4rem;
    }
  
    .firstsection p {
      font-size: 18px;
      line-height: 1.7;
    }
  
    .firstsection img {
      width: 280px;
    }
  }
  
  /* ===================== PHONES ===================== */
  @media (max-width: 480px) {
    nav {
      flex-direction: column;
      align-items: center;
      padding: 15px 10px;
      gap: 10px;
    }
  
    .logo {
      margin-bottom: 10px;
    }
  
    .logo img {
      width: 40px;
      height: 40px;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    nav ul li a {
      font-size: 0.95rem;
      padding: 8px 0;
    }
  
    .firstsection {
      padding: 1rem;
      border-radius: 20px;
    }
  
    .firstsection h1 {
      font-size: 2rem;
    }
  
    .firstsection p {
      font-size: 16px;
      line-height: 1.6;
    }
  
    .firstsection img {
      width: 90%;
      max-width: 250px;
    }
  }
  

    .firstsection p {
        margin-bottom: 20px;
    }
}
