OPINION
¶ 1 The Democratic Party of Pima County (the Democratic Party) appeals from the superior court’s order denying its request for attorney fees and costs in a special action arising from its public-records request submitted to Beth Ford, in her capacity as Pima County Treasurer (the Treasurer), and the Pima County Board of Supervisors (the Board of Supervisors). The Democratic Party asserts that it “substantially prevailed” in obtaining the records, and it therefore was entitled to an award of attorney fees and costs pursuant to A.R.S. § 39-121.02. For the following reasons, we affirm.
Factual Background and Procedural History
¶2 “We view the facts in the light most favorable to upholding the trial court’s ruling.”
Hammoudeh v. Jada,
¶ 3 After learning more about the information contained in the requested records, the Treasurer objected to disclosing the poll tapes because they are the “functional equivalent of the ballots.” But, because the Democratic Party already had in its possession a database with the same information as the poll tapes, the Board of Supervisors did not oppose disclosure in this ease. In February 2009, the Treasurer agreed with the Board of Supervisors to release the poll tapes. Although the only unresolved issues remaining between the parties apparently involved the procedures required to open the ballot boxes, there was very little activity in the case until November 2009.
¶4 In January 2010, the trial court ordered the parties to submit position statements regarding the recommended procedures for opening the ballot boxes. The Treasurer’s statement included sixty-four procedures, of which the Democratic Party disagreed with forty-four. At a hearing in March 2010, the Treasurer and the Board of Supervisors again agreed to provide the Democratic Party with the poll tapes and yellow sheets, and the court ordered the opening of the ballot boxes to retrieve the records. The court gave the Treasurer “discretion to establish the procedures used to provide security, inspection, copying and preservation” of the ballots, poll tapes, and yellow sheets. The Democratic Party received the requested records in May 2010.
¶ 5 Also in May 2010, the Democratic Party filed a motion for attorney fees and costs, which the trial court denied in August 2010. The Democratic Party filed a motion for reconsideration of its request; the court granted the motion, but denied relief. The final judgment was entered on February 16, 2011. This appeal followed. We have jurisdiction pursuant to A.R.S. § 12-120.21.
Discussion
Attorney Fees under A.R.S. § 39-121.02(B)
¶ 6 The Democratic Party contends the trial court misinterpreted § 39-121.02(B) and abused its discretion in denying the Democratic Party’s request for attorney fees under that statute. We review questions of statutory interpretation de novo,
Zeagler v. Buckley,
¶ 7 Under § 39-121.02(B), “[t]he court may award attorney fees and other legal costs that are reasonably incurred in any action under this article if the person seeking public records has substantially prevailed.” In construing a statute, our “primary goal ... is to give effect to the intent of the legislature.”
Cornman Tweedy 560, LLC v. City of Casa Grande,
¶ 8 The Democratic Party argues that the threshold requirement for an award of attorney fees under § 39-121.02(B) is a trial court’s finding that the party substantially prevailed, and that once that finding has been made, the award is mandatory. We agree that the court first must find that a *548 party substantially prevailed as a threshold requirement; however, we disagree that the court must award attorney fees after making that determination.
¶ 9 Generally, the use of the word “may” indicates permissive intent while “shall” denotes a mandatory provision.
City of Chandler v. Ariz. Dep’t of Transp.,
¶ 10 Our interpretation of § 39-121.02(B) is supported by the plain meaning of the statute’s second sentence, which states: “Nothing in this paragraph shall limit the rights of any party to recover attorney fees pursuant to [AR.S. § 12-341.01(0) ], or attorney fees, expenses and double damages pursuant to [A.R.S.] § 12-349.” Under § 12-341.01(C), the trial court “shall” award attorney fees when “the claim or defense constitutes harassment, is groundless and is not made in good faith,” and pursuant to § 12-349, the court “shall” award attorney fees, expenses, and double damages where a party acts in bad faith by engaging in one of four actions.
2
When a statute uses both permissive and mandatory terms, we will presume the legislature was aware of the difference and intended each word to carry its ordinary meaning.
City of Chandler v. Ariz. Dep’t of Transp.,
¶ 11 The Democratic Party relies on
Brooke v. Moore,
¶ 12 The Democratic Party next argues that, even if an award of fees is discretionary, the trial court abused its discretion by denying its request.
3
The court generally
*549
has broad discretion to award or deny attorney fees, and we will not reverse its decision unless there is no reasonable basis for it.
Cf. Associated Indent. Corp. v. Warner,
¶ 13 The trial court “conclude[d] that while each party prevailed in part, the [Democratic Party] as far as obtaining the records and the Treasurer as to the security procedures, neither party can be said to have substantially prevailed.” The record supports that determination. By February 2009, the Treasurer and the Board of Supervisors had agreed to release the requested records with a court order. The contested issues in this case revolved around the procedures required to open the ballot boxes. In accordance with the Treasurer’s position, the court ruled the Treasurer could use her discretion to establish the procedures. Thus, the court reasonably could have concluded the Democratic Party did not substantially prevail because the Treasurer prevailed on the contested issues.
¶ 14 The Democratic Party nevertheless argues it substantially prevailed because it obtained the records sought and because the “collateral issues” concerning the procedures should not have been considered by the trial court. But, the Treasurer and the Board of Supervisors acquiesced in releasing the requested records with a court order, and the Democratic Party agreed that one was necessary to open the ballot boxes.
4
Therefore, the “collateral issues” actually were, as the court found, the crux of the ease. We are unpersuaded by the Democratic Party’s pub-lie policy argument for the same reason. Although we recognize the importance of access to public records,
see Phx. Newspapers, Inc. v. Purcell,
Costs under A.R.S. § 12-341
¶ 15 The Democratic Party also argues the trial court abused its discretion in denying its request for costs under AR.S. § 12-341.
5
According to § 12-341, “[t]he successful party to a civil action shall recover from his adversary all costs expended or incurred therein unless otherwise provided by law.” For purposes of that statute, the court has the discretion to determine the successful party.
McEvoy v. Aerotek, Inc.,
¶ 16 “Specific statutes create exceptions to general statutes. Therefore, if a provision of a special statute is inconsistent with one in a general statute on the same subject, the specific statute controls.”
Ruth Fisher
*550
Elementary Sch. Dist. v. Buckeye Union High Sch. Dist.,
¶ 17 Our interpretation of § 39-121.02(B) is, again, bolstered by the plain language of the statute. Section 39-121.02(B) refers to § 12-341.01(0 and § 12-349 and requires the trial court to award certain fees and costs where those statutes apply. However, § 39-121.02(B) does not refer to § 12-341. If the legislature had intended to require the recovery of costs under § 12-341, it easily could have said so.
See Roller Village, Inc. v. Superior Court,
Attorney Fees on Appeal
¶ 18 The Democratic Party requests attorney fees on appeal, pursuant to § 39-121.02(B). Because the Democratic Party was not the prevailing party, its request is denied.
Disposition
¶ 19 For the foregoing reasons, we affirm.
Notes
. The poll tapes contain a summary of the ballots cast, and the yellow sheets are the end-of-day precinct reports.
. The four bases for relief under § 12-349 are: bringing or defending a claim without substantial justification; bringing or defending a claim for delay or harassment; unreasonably prolonging the proceeding; and engaging in abusive discovery practices.
. The Democratic Party suggests that if “this court finds it necessary to establish a set of
*549
standards for the exercise of discretion under § 39-121.02(B),” we should adopt the factors set forth in
United Ass’n of Journeymen & Apprentices of Plumbing & Pipefitting Indus., Local 598 v. Dep't of the Army,
. Section 16-624(A) provides that once an election canvass has been completed, the package containing the ballots shall be deposited with the "county treasurer, who shall keep it unopened and unaltered for ... six months ..., at which time he shall destroy it without opening or examining the contents." And subsection (D) of the statute states that “[i]f a recount is ordered or a[n election] contest begun within six months, the county treasurer may be ordered by the court to deliver to it the packages or envelopes containing the ballots, and thereupon they shall be in the custody and control of the court.”
. The trial court’s rulings do not address separately the Democratic Party’s request for costs; however, we assume that the costs were denied in conjunction with the request for attorney fees.
. Primary Consultants, L.L.C. was decided under the previous version of § 39-121.02(B), which required the custodian of records to have "acted in bad faith, or in an arbitrary or capricious manner.” 1975 Ariz. Sess. Laws, ch. 147, § 1. Even without the bad-faith requirement, §39-121.02 is inconsistent with § 12-341 because of the "may” versus "shall” distinction.
