html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}


#purple{
    height: 100vh;
    width: 100vw;
    top: 0;
    position: fixed;
    z-index: 100;
    background-color: #dadada;
    opacity: 0;
    display: none;
    transition: opacity ease 1s;
    
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    color: #f9f7f2;
}
.cursor{
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: fixed;
    background-color: #EDBFFF;
    z-index: 8;
    transition: background-image ease 0.5s;
    background-position: center;
    background-size:cover ;
    mix-blend-mode: difference;
}
.main{
  
    cursor: none;
    
}

#nav{
    height: 65px;
    width: 100%;
     background-color:#f9f7f2; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    border-bottom: 1px solid #1b4242;
    z-index:102;
  
}
#nav img{
    height: 130px;
    padding-top: 2px;
}
#nav-part2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
#nav a{
    text-decoration: none;
}
#nav #circle{
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: #861d1d;
}
#nav h4{
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #5e1407;
}
#nav h4:nth-child(1){
    border-bottom: 1.5px solid #961313;
}
/* =====================
   HAMBURGER
   ===================== */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

#hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* =====================
   MOBILE STYLES
   ===================== */
@media (max-width: 768px) {

  #hamburger {
    display: flex;
  }

  #nav-part2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: #752326;
    flex-direction: column;
    padding: 80px 25px;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 999;
  }

  #nav-part2.active {
    right: 0;
  }

  #nav-part2 h4 {
    font-size: 18px;
    color: #fff;
  }

  /* Disable hover behavior */
  .tech-dropdown:hover .mega-menu {
    display: none;
  }

  /* Mega menu → accordion */
  .mega-menu {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    padding: 10px 0;
    min-width: 100%;
    grid-template-columns: 1fr;
  }

  .tech-dropdown.active .mega-menu {
    display: grid;
  }

  .mega-title {
    font-size: 15px;
    color: #caed40;
    margin-top: 10px;
  }

  .mega-item {
    font-size: 14px;
    padding-left: 10px;
  }
}