
body {
  font-family: 'Inter', sans-serif;
}


    /* Desktop dropdown styles - hidden on mobile */
    .dropdown {
      position: absolute;
      top: calc(100% + 12px);
      left: 50%;
      transform: translateX(-50%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 40;
      background-color: white;
      border-radius: 0.5rem;
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      padding-top: 0.5rem;
      width: 12rem;
    }

    .dropdown::before {
      content: "";
      position: absolute;
      top: -6px;
      left: 50%;
      transform: translateX(-50%);
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-bottom: 6px solid white;
    }

    /* Desktop dropdown items will be normal font weight */
    .dropdown li a {
        font-weight: normal; /* Ensure desktop dropdown items are not bold */
    }

    .menu-item-link::after {
      content: "";
      display: block;
      height: 2px;
      width: 0;
      background: #EF4444; /* Red for hover underline */
      transition: width 0.3s ease;
      margin: auto;
    }

    .group:hover .menu-item-link::after {
      width: 100%;
    }

    .menu-word-break {
      display: block;
      line-height: 1.2rem;
      white-space: normal;
    }

    /* Styles for the scrolling events ticker as a top bar */
.events-ticker-top-bar {
  width: 100%;
  height: 35px;
  background-color: #1F2937; /* dark gray */
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid #374151;
}

.events-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.events-ticker-content {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.ticker-animate {
  display: inline-block;
  padding-left: 100%; /* Start outside to the right */
  animation: ticker-marquee 90s linear infinite;
  font-size: 0.9rem;
  color: #FCD34D;
  white-space: nowrap;
}

.ticker-gap {
  display: inline-block;
  width: 8rem; /* Control the size of gap between loops */
}

@keyframes ticker-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.events-ticker-top-bar:hover .ticker-animate {
  animation-play-state: paused;
}

.events-ticker-content.centered-no-events {
  animation: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #FCD34D;
}


    /* Ensure menu items stay within their container and hover is below */
    .nav-item-container {
      display: flex;
      flex-direction: column; /* Stack content vertically */
      align-items: center; /* Center text horizontally */
      justify-content: center; /* Center content vertically within its space */
      padding: 0.25rem 0.25rem; /* Adjusted padding for internal spacing to reduce menu height */
      height: 100%; /* Ensure it takes full height of its parent for centering */
    }
    .nav-item-container > a {
      display: flex;
      flex-direction: column; /* Stack text and indicator vertically */
      align-items: center; /* Center text and indicator */
      justify-content: center; /* Center content vertically */
      height: 100%; /* Take full height of parent */
      text-decoration: none; /* Remove default underline */
    }
    .menu-item-link {
        padding-bottom: 2px; /* Reduced space for the ::after element */
    }

    /* Mobile Menu Specific Styles */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: white;
      z-index: 50;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
      overflow-y: auto; /* Enable scrolling for long menus */
      padding-top: 4rem; /* Space for the close button */
    }

    .mobile-menu.open {
      transform: translateX(0);
    }

    .mobile-menu-item {
      width: 100%;
      text-align: left;
      padding: 1rem 1.5rem;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #EF4444; /* Red for mobile menu main items */
      font-weight: 500;
      text-decoration: none;
    }

    .mobile-menu-item:hover {
      background-color: #f5f5f5;
    }

    .mobile-dropdown {
      background-color: #F8FAFC; /* Very light gray for a professional look */
      padding-left: 1.5rem;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
    }

    .mobile-dropdown.open {
      max-height: 500px; /* Adjust as needed to accommodate all items */
    }

    .mobile-dropdown a {
      display: block;
      padding: 0.5rem 1rem;
      color: #1D4ED8; /* Blue for mobile dropdown links */
      font-size: 0.9rem;
    }

    .mobile-dropdown a:hover {
      background-color: #E2E8F0; /* Lighter gray on hover */
    }

    /* Mobile specific layout for the main nav container */
    @media (max-width: 1023px) { /* Tailwind's lg breakpoint is 1024px */
      /* Ensure the desktop navigation container is hidden on mobile */
      .main-nav-container {
        display: none;
      }
      /* Ensure the nav element itself is a flex column on mobile */
      nav {
        display: flex;
        flex-direction: column;
      }
    }

    /* Show desktop nav on larger screens, hide mobile toggle */
    @media (min-width: 1024px) {
      .mobile-toggle-button {
        display: none;
      }
      .mobile-menu {
        display: none;
      }
      .logo-mobile-top-bar {
        display: none;
      }
      /* Ensure the nav element is block on desktop */
      nav {
        display: block;
      }
    }
