
      
    /* Increase horizontal spacing between menu items */
    /* Ensure dropdown menu has enough width and better look */
    .topbar {
        padding: 6px 0 !important; /* compact vertical space */
        font-size: 13px;
      }
      .topbar .d-inline-block a i {
        vertical-align: middle;
        margin-right: 6px;
      }

      .topbar .d-inline-block a {
        display: inline-flex;
        align-items: center;
      }
      .topbar {
        background-color: #1e2b38 !important; /* dark blue-gray */
        color: #fff;
      }
      .custom-dropdown .dropdown-menu {
        background-color: #f8f9fa; /* light background */
        min-width: 260px; /* wider to fit full lines */
        font-size: 14px;
        border-radius: 4px;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
      }

      /* Style individual items */
      .custom-dropdown .dropdown-item {
        padding: 10px 18px;
        color: #343a40;
        border-bottom: 1px solid #dee2e6; /* divider between items */
        white-space: nowrap; /* keep items in one line */
        transition: background-color 0.2s ease-in-out;
      }

      /* Last item shouldn't have a border */
      .custom-dropdown .dropdown-item:last-child {
        border-bottom: none;
      }

      /* Hover effect */
      .custom-dropdown .dropdown-item:hover {
        background-color: #e9ecef;
        color: #007bff;
      }
      .dropdown-menu {
        min-width: 280px; /* Default is 10rem (~160px), you can increase this */
        font-size: 9px;
      }
      .custom-topbar-menu {
        margin-left: 10px !important; /* or whatever value works */
      }

      /*-----------------------------------------------------------------------*/
      .nav-item-card {
        text-align: center;
        padding: 10px;
        background: #e6ecf2;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        min-height: 120px;
      }

      .nav-item-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
      }

      .icon-wrapper {
        --icon-size: 20px;
        width: 50px;
        height: 50px;
        background: #a61d37;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
      }

      .icon-wrapper svg {
        width: var(--icon-size);
        height: var(--icon-size);
        fill: #fff;
      }

      .nav-item-card h6 {
        font-size: 0.95rem; /* or 14px */
        font-weight: 500;
        color: #1b1f29;
        margin: 0;
      }
      .nav-item-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
      }
      .nav-item-card {
        transition: all 0.3s ease-in-out;
      }
      .menu-caption {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }


