body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  margin: 0;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: #003366;
}

.main-nav {
  background: #ffffff;
  border-bottom: 1px solid #ccc;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
  padding: 1rem;
}

.nav-list a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.nav-list a:hover {
  color: #0055aa;
}

.icon {
  margin-right: 0.5rem;
}

/* Submenus */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  min-width: 200px;
}

.has-submenu:hover > .submenu {
  display: block;
}

.submenu li {
  padding: 0.75rem 1rem;
}

.submenu a {
  color: #333;
}

.scrollable {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    padding: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list > li {
    padding: 0.75rem 0;
  }

  .submenu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }

  .has-submenu.open > .submenu {
    display: block;
  }
}

/* Lead Form Styling for Detonsoicitors */
#leadForm {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

#leadForm input[type="text"],
#leadForm input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

#leadForm input[type="text"]:focus,
#leadForm input[type="email"]:focus {
  border-color: #002147;
  outline: none;
}

#leadForm button {
  width: 100%;
  padding: 14px;
  background-color: #002147;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#leadForm button:hover {
  background-color: #001530;
}

#leadFormMessage {
  margin-top: 25px;
  font-size: 16px;
  color: #007e33;
  text-align: center;
}

.leadForm-heading {
  font-size: 28px;
  font-weight: 700;
  color: #002147;
  text-align: center;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leadForm-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #002147;
  margin: 10px auto 0;
}

.popup-message {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.g-recaptcha {
  margin: 20px auto;
  display: flex;
  justify-content: center;
}