/* Fix for Navigation Menu Horizontal Layout - Global Override */

@media (min-width: 1025px) {
  /* Ensure the main navigation menu container is horizontal */
  .elementor-nav-menu--main.elementor-nav-menu--layout-horizontal {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Ensure the navigation menu ul is horizontal */
  .elementor-nav-menu--main > ul.elementor-nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure each menu item is displayed horizontally */
  .elementor-nav-menu--main > ul.elementor-nav-menu > li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  /* Ensure menu links don't wrap */
  .elementor-nav-menu--main > ul.elementor-nav-menu > li > a {
    white-space: nowrap !important;
    display: inline-block !important;
  }

  /* Hide mobile menu toggle on desktop */
  .elementor-menu-toggle {
    display: none !important;
  }

  /* Hide mobile dropdown menu on desktop */
  nav.elementor-nav-menu--dropdown {
    display: none !important;
  }

  /* Ensure submenu positioning */
  .elementor-nav-menu--main .sub-menu {
    position: absolute !important;
    z-index: 9999 !important;
    display: none !important;
  }

  .elementor-nav-menu--main .sub-menu.elementor-active {
    display: block !important;
  }

  /* Ensure the header container layout */
  .elementor-element-bd6dcb8 > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    gap: 25px !important;
  }

  /* Menu section - center */
  .elementor-element-d969dec {
    display: flex !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .elementor-element-401b915 {
    width: 100% !important;
    max-width: none !important;
  }

  /* Logo styling */
  .elementor-widget-theme-site-logo img {
    height: 50px !important;
    width: auto !important;
    max-width: 150px !important;
    display: block !important;
  }

  /* Logo container */
  .elementor-element-c355bc2 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-right: 20px !important;
  }

  /* Logo link */
  .elementor-element-c355bc2 a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .elementor-widget-theme-site-logo img {
    height: 40px !important;
    max-width: 120px !important;
  }

  .elementor-element-c355bc2 {
    padding-right: 15px !important;
  }
}
