Thank you, Phil. Q3 featured all-time record revenue and profitability levels with total revenue growth of 16%. Gross margin was $158 million or 14.7% of revenue, which is an improvement of 300 basis points as compared to last year and 240 basis points higher than Q2. Gross margin performance and our focus on operating efficiency led to operating income of $60 million or 5.6% of revenue. Salaries and benefits increased primarily due to higher incentive compensation and commission expense as compared to last year. General and administrative expenses increased compared to last year due to legal settlements and expenses related to the acquisition of Choptank, partially offset by higher gains on the sale of transportation equipment.
Our diluted earnings per share for the quarter was $1.28, which is 73% higher than the prior year. We generated $92 million of EBITDA in the quarter and had over $230 million of cash on hand at quarter end. In October, we invested approximately $130 million in cash to purchase Choptank.
We continue to have a conservative capital structure with net leverage of approximately 0.5 times EBITDA, which provides us with ample flexibility to continue to invest in the business through capital expenditures and additional strategic acquisitions.
We are raising our 2021 EPS expectation to $3.90 to $4 per share, up from $3.50 to $3.70 that we announced in July.
For 2021, we expect revenue will grow in the high teens percentage range, with intermodal volumes approximately flat. We forecast gross margin as a percent of revenue of 13.3 to 13.7 for the year growing as a result of rate increases, partially offset by higher costs for rail transportation, third-party drayage and driver wages.
We continue to see strong consumer demand and low retail inventory levels, which is driving the need for our customers to restock.
For the year, we expect cost and expenses of $365 million to $375 million, which reflects incremental operating cost for Choptank.
We expect our tax rate to be approximately 24% for the full year.
Our 2021 capital expenditure forecast is $150 million to $160 million, down somewhat as compared to our prior guidance as 150 of the trackers that we ordered this year will be delivered in early 2022.
We expect to receive our full order of 3,000 containers this year. Last quarter, we introduced our long-term revenue and margin targets. The acquisition of Choptank is a great step towards achieving these targets and is indicative of the type of strategic investment we will make in the business adding scale while also introducing a new service offering with significant cross-sell potential. Dave, back to you for closing remarks.