.main-header {
    color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3rem 0 ;
}

.menu-button {
    display: flex;
    align-items: center;
    background-color: #00bd9d;
    padding: 1.2rem 1rem;
    cursor: pointer;
    font-weight: bold;
    color: #000;
}

.menu-text {
    margin-right: 1rem;
    font-weight: bold;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 20px;
    gap: 5px;
}

.burger-icon .bar {
    height: 4px;
    background-color: #000;
    transform-origin: left;
    transition: transform 0.3s ease;
}

.burger-icon .top-bar,
.burger-icon .middle-bar,
.burger-icon .bottom-bar {
  width: 20px;
}

.burger-icon .top-bar { transform: scaleX(0.6); }
.burger-icon .middle-bar { transform: scaleX(1.2); }
.burger-icon .bottom-bar { transform: scaleX(0.9); }

.menu-button:hover .top-bar {
  transform: scaleX(1.2);
}

.menu-button:hover .middle-bar {
  transform: scaleX(0.5);
}

.menu-button:hover .bottom-bar {
  transform: scaleX(1.4);
}

@media (max-width: 768px) {
  .main-header {
    padding: 0 0 0 3rem   ;
  }
}


.side-menu {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #000;
    color: white;
    padding: 2rem;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  .side-menu.open {
    right: 0;
  }

  .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
  }
  
  .close-btn:hover {
    transform: rotate(180deg);
  }
 
  .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .menu-list li {
    margin: 1.5rem 0;
  }
  
  .menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
  }
  
  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
  }
  
  .submenu-arrow {
    transition: transform 0.3s ease;
  }
  
  .has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
  }
  
  .submenu {
    display: none;
    margin-top: 0.5rem;
    padding: 0;
    transition: all 0.3s ease;
  }
  
  .has-submenu.open .submenu {
    display: block;
  }
  
  .submenu li {
    margin: 1.5rem 0;
    list-style: none;
  }
  
  .submenu li a {
    font-size: 1rem; 
    color: #fff;
    opacity: 0.9;
  }
  
  .submenu li a:hover {
    text-decoration: none;
  }
  

  
  
  
  /* Overlay */
  #menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 998;
  }
  
  #menu-overlay.active {
    display: block;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
  }
  
  .social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .social-links a:hover {
    color: #00bd9d;
    transform: scale(1.2);
  }
  
  @media (min-width: 768px) {
    .side-menu {
      width: 20%;
    }
  }