*{
  margin: 0;
  padding: 0;
  font-family: Quicksand;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}

:root{
  --bg-color:black;
  --second-bg-color:#1f242d;
  --main-color: #3CFF15 ;
  --white-color:#fff;
  --disabled-color:#fff3;
}

html {
  font-size: 62.5%;
}

body {
color: var(--main-color);
background: var(--bg-color);
}


header{
  position: fixed;
  top: 0;
  left: 0;
  width:100%;
  padding: 1.5rem 4%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo{
  font-size: 3.2rem;
  color: var(--main-color);
  font-style: bold;
  font-weight: 700;
}

nav a{
  font-size: 2rem;
  color: var(--main-color);
  font-weight: 700;
  margin-left: 1.5rem;
  transition: 0.3s;
  border: 3px solid transparent;
  border-radius: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 9px;
  padding-right: 9px;
}

nav a:hover{
  border: 3px solid var(--main-color);
  border-radius: 30px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 9px;
  padding-right: 9px;
}

nav .home{
   border: 3px solid var(--main-color);
  border-radius: 30px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 9px;
  padding-right: 9px;
}

#menu-icon {
  font-size: 4rem;
  display: none;
}


/*===========================Navbar Animation =========================*/

/* Initial hidden state */
.nav-hidden {
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Reveal animation */
.nav-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Mobile Responsive Styles ===================== */
@media (max-width: 768px) {

  /* Show menu icon */
  #menu-icon {
    display: block;
    color: var(--main-color);
    cursor: pointer;
    z-index: 101;
  }

  /* Hide original navbar on mobile */
  header nav {
    display: none;
  }

  /* Fullscreen menu overlay */
  .mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* dark blur background */
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
  }

  .mobile-nav.active {
    right: 0;
  }

.mobile-nav .mobone{
  font-size: 2.4rem;
  background: var(--main-color);
    color: var(--bg-color);
    margin: 1.5rem 0;
    font-weight: 700;
    transition: 0.3s;
    padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
}
  .mobile-nav a {
    font-size: 2.4rem;
    color: var(--main-color);
    margin: 1.5rem 0;
    font-weight: 700;
    transition: 0.3s;
    padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
  }

  .mobile-nav a:hover, .mobone {
    background: var(--main-color);
  color: var(--bg-color);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
  box-shadow: 0, 0, 1rem var(--main-color);
  }  
}


/*============================= hiding scroll bar line ===================*/
/* Hide scrollbar for all elements */
::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/* Optional: remove scrollbar track background */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Optional: remove scrollbar thumb */
::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Hide scrollbar for Firefox */
body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

/* Optional: just in case, remove from html tag too */
html {
  scrollbar-width: none;
}
