* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.nav-container {
  width: 92%;
  max-width: 1400px;
  margin: auto;
}

/* Header */
.main-header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
   position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
}

/* Navbar */
.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  width: 46px;
  height: auto;
  object-fit: contain;
}

.logo-text h2 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.3px;
}

.logo-text p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
  white-space: nowrap;
}
h4{
  color:#1ea7ff;
}
.nav-links li a:hover {
  /* color: #ffffff; */
   color: #1ea7ff;
  /* background: rgba(30, 167, 255, 0.1); */

}

.nav-links li a.active {
  color: #1ea7ff;
  /* background: rgba(30, 167, 255, 0.08); */
}

/* Dropdown arrow */
.drop-arrow {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.drop-arrow svg {
  width: 10px;
  height: 10px;
}

.dropdown:hover .drop-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu — centered under "Services" */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 999;
}

/* Caret arrow above the dropdown */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: #0a0d14;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: transparent;
  transition: all 0.2s;
}

.dropdown-menu li a:hover {
  background: rgba(30, 167, 255, 0.1);
  color: #1ea7ff;
  padding-left: 18px;
}

.dm-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(30, 167, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* Hamburger Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  padding: 7px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu — slide down with max-height animation */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-menu.open {
  max-height: 520px;
  opacity: 1;
}

.mobile-menu ul {
  list-style: none;
  padding: 14px 5% 22px;
}

.mobile-menu ul li a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  background: rgba(30, 167, 255, 0.1);
  color: #1ea7ff;
}

.mobile-menu ul li a.mob-sub {
  padding-left: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-menu ul li a.mob-sub:hover {
  color: #1ea7ff;
  background: rgba(30, 167, 255, 0.08);
}

.mob-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 0;
}

.mob-section-label {
  padding: 10px 14px 5px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 68px;
  }

  .logo {
    width: 40px;
  }

  .logo-text h2 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 36px;
  }

  .logo-text h2 {
    font-size: 13px;
  }

  .logo-text p {
    display: none;
  }
}

/* Mobile dropdown support */
@media (max-width: 991px) {
  .mobile-menu .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
  }

  .mobile-menu .dropdown-toggle .drop-arrow {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(30, 167, 255, 0.1);
    color: #ffffff;
    flex-shrink: 0;
  }

  .mobile-menu .dropdown.active > .dropdown-toggle {
    background: rgba(30, 167, 255, 0.1);
    color: #1ea7ff;
  }

  .mobile-menu .dropdown.active > .dropdown-toggle .drop-arrow {
    color: #1ea7ff;
    transform: rotate(180deg);
  }

  .mobile-menu .dropdown-menu {
    display: none !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    width: 100% !important;
    min-width: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 8px 0 6px 12px !important;
    margin: 0 !important;
    box-shadow: none !important;
    justify-content: space-between;
  }

  .mobile-menu .dropdown.active .dropdown-menu {
    display: block !important;
    
  }

  .mobile-menu .dropdown-menu::before {
    display: none !important;
  }

  .mobile-menu .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    background: transparent !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  .mobile-menu .dropdown-menu li a:hover {
    color: #1ea7ff !important;
    background: rgba(30, 167, 255, 0.08) !important;
  }

  .mobile-menu .dropdown-menu .dm-icon {
    width: 28px;
    height: 28px;
  }
  
}
