
.main-header {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
}


:root {
  --primary-color: #25D366;
  --background: #eefcf8;
  --surface: #ffffff;
  --text: #000000;
  --hover: #f3f4f6;
  --border: #e5e7eb;
  --primary-border: #4ade80;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAVBAR */
.custom-navbar {
  background-color: var(--surface);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
              0 2px 4px -2px rgb(0 0 0 / 0.1);
  border-radius: 1rem;
  padding: 0 1rem;

}

.custom-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* LOGO IMAGE */
.custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.custom-logo-img {
  height: 65px;
  width: auto;
  display: block;
}

/* NAV LINKS */
.custom-nav-links-desktop {
  display: none;
  flex-grow: 1;
  justify-content: center;
}

.custom-nav-links-desktop ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.custom-nav-links-desktop a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-nav-links-desktop a:hover {
  color: #7664a0;
}

/* BUTTONS */
.custom-nav-actions-desktop {
  display: none;
  align-items: center;
  gap: 1rem;
}

.custom-btn {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.custom-btn-login {
  color: var(--text);
}

.custom-btn-login:hover {
  background-color: var(--hover);
}

.custom-btn-getstarted {
  color: var(--text);
  border: 2px solid #7664a0;
}

.custom-btn-getstarted:hover {
  background-color: rgba(74, 222, 128, 0.1);
}

/* MOBILE MENU TOGGLE */
.custom-mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.custom-mobile-menu-toggle:hover {
  background-color: var(--hover);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none;
}

/* MOBILE MENU */
#mobile-menu {
  padding-top: 0.5rem;
  padding-bottom: 0.75rem;
}

#mobile-menu ul {
  list-style: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#mobile-menu ul a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

#mobile-menu ul a:hover {
  background-color: var(--hover);
}

.custom-mobile-menu-actions {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}

.custom-mobile-menu-actions-container {
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  gap: 1rem;
}

.custom-mobile-menu-actions-container a {
  flex: 1;
}

@media (min-width: 640px) {
  body {
    padding: 1.5rem;
  }

  .custom-navbar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  #mobile-menu ul {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .custom-nav-links-desktop {
    display: flex;
  }

  .custom-nav-actions-desktop {
    display: flex;
  }

  .custom-mobile-menu-toggle {
    display: none;
  }

  #mobile-menu {
    display: none !important;
  }
}


/* Added desktop dropdown styles */
.services-dropdown {
  position: relative;
}

.services-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-dropdown > a::after {
  content: '▼';
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.services-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 50;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
}

.services-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 0.75rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-radius: 0.375rem;
}

.dropdown-menu a:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-menu a:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-menu a:hover {
  background-color: var(--hover);
  color: #7664a0;
}

/* Added mobile dropdown styles */
.mobile-services-dropdown {
  position: relative;
}

/* Updated mobile Services button styling to match other menu items */
.mobile-services-toggle {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.mobile-services-toggle:hover {
  background-color: var(--hover);
}

.mobile-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.mobile-dropdown-menu.hidden {
  display: none;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-dropdown-menu a:hover {
  background-color: var(--hover);
  color: #7664a0;
}
