/* ===== MOBILE RESPONSIVE NAVBAR ===== */

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 24px;
  cursor: pointer;
  justify-content: space-between;
  margin-left: auto;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #172033 50%, #0f172a 100%);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding-top: 80px;
}

.mobile-nav-menu.active {
  transform: translateX(0);
}

.mobile-nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-menu li {
  padding: 0;
  margin: 0;
}

.mobile-nav-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  padding-left: 40px;
}

.mobile-nav-menu a i {
  font-size: 20px;
}

/* Mobile More Services Dropdown */
.mobile-more-services {
  position: relative;
}

.mobile-more-services-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
}

.mobile-more-services-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  padding-left: 40px;
}

.mobile-more-services-btn i {
  font-size: 20px;
}

.mobile-more-services-btn::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.mobile-more-services-btn.active::after {
  transform: rotate(180deg);
}

.mobile-more-services-dropdown {
  display: none;
  background: rgba(124, 58, 237, 0.1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-more-services-dropdown.active {
  display: block;
  max-height: 500px;
}

.mobile-more-services-dropdown a {
  padding: 12px 24px 12px 60px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Show hamburger on mobile */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .more-services-dropdown {
    display: none !important;
  }
}