Stock-Based Compensation (Tables)
|
12 Months Ended |
Jul. 31, 2026 |
| Share-Based Payment Arrangement, Noncash Expense [Abstract] |
|
| Schedule of Valuation Assumption used to Determine Fair Value of Stock-Based Compensation Awards |
The fair value of these awards was determined using the following inputs: | | | | | | | | | | | | | | | | | | | | | | | Year Ended July 31, | | | 2026 | | 2025 | | 2024 | | Risk-free interest rate | | 3.8% - 4.0% | | 3.6% - 4.5% | | 3.8% - 4.6% | | Expected volatility | | 26.5% - 27.4% | | 26.1% - 27.0% | | 26.8% - 27.2% | | Expected dividend yield | | 1.6 | % | | 1.6 | % | | 1.6 | % | | | | | | | | | Expected life: | | | | | | | | Director grants | | 8 years | | 8 years | | 8 years | | Officer grants | | 8 years | | 7 years | | 7 years | | Non-officer grants | | 7 years | | 7 years | | 7 years |
|
| Schedule of Stock Option Activity |
Option activity was as follows: | | | | | | | | | | | | | | | | | Options | | Weighted Average Exercise Price | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Balance outstanding as of July 31, 2025 | | 6,223,080 | | | $ | 54.24 | | | Granted | | 683,172 | | | 82.73 | | | Exercised | | (1,208,935) | | | 46.58 | | | Expired/forfeited | | (29,352) | | | 71.40 | | | Balance outstanding as of July 31, 2026 | | 5,667,965 | | | $ | 59.22 | |
|
| Schedule of Outstanding and Exercisable Options |
Outstanding and exercisable stock options as of July 31, 2026 were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Range of Exercise Prices | | Number Outstanding | | Weighted Average Remaining Contractual Life (Years) | | Weighted Average Exercise Price | | Number Exercisable | | Weighted Average Remaining Contractual Life (Years) | | Weighted Average Exercise Price | $42.26 to $46.99 | | 1,190,976 | | | 2.5 | | $ | 45.07 | | | 1,190,976 | | | 2.5 | | $ | 45.07 | | $47.00 to $56.99 | | 1,239,306 | | | 4.7 | | 51.28 | | | 1,239,306 | | | 4.7 | | 51.28 | | $57.00 to $66.99 | | 1,809,367 | | | 5.2 | | 59.51 | | | 1,559,803 | | | 4.9 | | 59.45 | | $67.00 to $76.99 | | 754,783 | | | 8.2 | | 72.85 | | | 243,438 | | | 8.2 | | 72.84 | | $77.00 and above | | 673,533 | | | 9.2 | | 82.74 | | | — | | | — | | — | | | | 5,667,965 | | | 5.4 | | $ | 59.22 | | | 4,233,523 | | | 4.4 | | $ | 53.79 | |
|
| Schedule of Status of Options that Contain Vesting Provisions |
For the year ended July 31, 2026, activity for non-vested stock options that contain vesting provisions was as follows: | | | | | | | | | | | | | | | | | Options | | Weighted Average Grant Date Fair Value | | Balance outstanding as of beginning of year | | 1,575,041 | | | $ | 19.73 | | | Granted | | 683,172 | | | 25.86 | | | Vested | | (795,652) | | | 18.57 | | | Forfeited | | (28,119) | | | 22.16 | | | Balance outstanding as of end of year | | 1,434,442 | | | $ | 23.25 | |
|
| Schedule of Performance Shares Activity |
The weighted average grant date fair value related to the Company’s performance-based awards was as follows: | | | | | | | | | | | | | | | | | | | | | | | Year Ended July 31, | | | 2026 | | 2025 | | 2024 | | Weighted average grant date fair value | | $ | 82.70 | | | $ | 73.18 | | | $ | 59.66 | |
Performance-based awards for non-vested activity were as follows: | | | | | | | | | | | | | | | | | Performance Shares | | Weighted Average Grant Date Fair Value | Balance outstanding as of July 31, 2025 | | 197,684 | | | $ | 66.19 | | | Granted | | 107,800 | | | 82.70 | | | Vested | | (94,550) | | | 59.66 | | | Forfeited | | (21,800) | | | 69.69 | | Balance outstanding as of July 31, 2026 | | 189,134 | | | $ | 78.46 | |
|