.custom-nav {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10000;
  background-color: transparent;
  padding: 20px 10%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 50px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-menu {
  display: flex;
  align-items: center;
}

.menu-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu-list li a {
  text-decoration: none;
  color: #1F2937;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s;
}

.menu-list li a:hover {
  color: #FF3131;
}

.social-icons a {
  color: #ffffff;
  background-color: #FF3131;
  font-size: 16px;
  margin: 0 8px;
  padding: 8px 13px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #3B82F6;
}

.nav-button {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #FF3131;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #1F2937;
  margin: 2px 0;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
  .main-menu {
     position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  padding: 80px 40px;
  transition: right 0.3s ease-in-out; 
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.main-menu.active {
  right: 0;
}
	.hamburger {
  z-index: 1001; 
		display: flex;
}

  .menu-list {
      flex-direction: column;
      align-items: flex-start;
      gap: 30px;
  }

  .menu-list li {
      width: 100%;
  }

  .menu-list li a {
      display: block;
      width: 100%;
      padding: 10px 0;
      font-size: 1.1rem;
  }

  .social-icons, 
  .nav-button-wrapper {
      display: none;
  }

  .hamburger {
      display: flex;
  }

  .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
  }

  .main-menu::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;

      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: -1;
  }

  .main-menu.active::before {
      opacity: 1;
      visibility: visible;
  }
}