.navbar-nav .nav-item .nav-link {
    color: #333;
    /* Default text color */
    background-color: #f8f9fa;
    /* Default background color */
    border-radius: 4px;
    border: 0px;
    transition: all 0.4s;
  }
  .navbar-nav .nav-item {
      margin: 7px;
  }

  /* Income Tax Laws Matrix tab color */
  .navbar-nav .nav-item:nth-child(2) .nav-link {
    color: #fff;
    background-color: #0c8a81;
    border: 1px solid #0c8a81;
    /* Green for Income Tax Laws (symbolizing growth and finance) */
  }
  .navbar-nav .nav-item:nth-child(2) .nav-link.active,
  .navbar-nav .nav-item:nth-child(2):hover .nav-link {
    color: #0c8a81;
  }

  /* Tax Regime Matrix tab color */
  .navbar-nav .nav-item:nth-child(3) .nav-link {
    color: #fff;
    background-color: #AB4459;
    border: 1px solid #AB4459;
    /* Blue for Tax Regime (symbolizing trust and security) */
  }
  .navbar-nav .nav-item:nth-child(3) .nav-link.active,
  .navbar-nav .nav-item:nth-child(3):hover .nav-link {
    color: #AB4459;
  }

  /* Penalty Matrix tab color */
  .navbar-nav .nav-item:nth-child(4) .nav-link {
    color: #fff;
    background-color: #441752;
    border: 1px solid #441752;
    /* Red for Penalties (symbolizing urgency and caution) */
  }
  .navbar-nav .nav-item:nth-child(4) .nav-link.active,
  .navbar-nav .nav-item:nth-child(4):hover .nav-link {
    color: #441752;
  }

  /* Procedural & Document Matrix tab color */
  .navbar-nav .nav-item:nth-child(5) .nav-link {
    color: #fff;
    background-color: #1B1833;
    border: 1px solid #1B1833;
    /* Teal for Procedural & Documents (symbolizing clarity and process) */
  }
  .navbar-nav .nav-item:nth-child(5) .nav-link.active,
  .navbar-nav .nav-item:nth-child(5):hover .nav-link {
    color: #1B1833;
  }

  .navbar-nav .nav-item:hover .nav-link{
    background-color: #fff;
  }

 
  /* Active tab color */
  .navbar-nav .nav-item .nav-link.active {
    background-color: #fff;
  }