@php
    $record = $record ?? null;
@endphp
<h4 class="mb-3">Official Information</h4>
<div class="row">
    <div class="col-md-6 mb-3">
        <label class="form-label">Name of Institute / Organisation</label>
        <input type="text" name="institute_name" class="form-control" value="{{ old('institute_name', $record->institute_name ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Type of the Firm/Company/Organization/Educational Institution</label>
        <input type="text" name="firm_type" class="form-control" value="{{ old('firm_type', $record->firm_type ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Building No/Name</label>
        <input type="text" name="official_building" class="form-control" value="{{ old('official_building', $record->official_building ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Street</label>
        <input type="text" name="official_street" class="form-control" value="{{ old('official_street', $record->official_street ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">City</label>
        <input type="text" name="official_city" class="form-control" value="{{ old('official_city', $record->official_city ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">State</label>
        <input type="text" name="official_state" class="form-control" value="{{ old('official_state', $record->official_state ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Postal code</label>
        <input type="text" name="official_postal_code" class="form-control" value="{{ old('official_postal_code', $record->official_postal_code ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Country</label>
        <input type="text" name="official_country" class="form-control" value="{{ old('official_country', $record->official_country ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Email</label>
        <input type="email" name="official_email" class="form-control" value="{{ old('official_email', $record->official_email ?? '') }}" autocomplete="email" autocapitalize="none" spellcheck="false">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Phone Number with Country Code</label>
        <input type="text" name="official_phone" class="form-control" value="{{ old('official_phone', $record->official_phone ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Operational Area</label>
        <input type="text" name="operational_area" class="form-control" value="{{ old('operational_area', $record->operational_area ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Experience</label>
        <input type="text" name="experience" class="form-control" value="{{ old('experience', $record->experience ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Second Contact Person Name</label>
        <input type="text" name="second_contact_name" class="form-control" value="{{ old('second_contact_name', $record->second_contact_name ?? '') }}">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Email Address</label>
        <input type="email" name="second_contact_email" class="form-control" value="{{ old('second_contact_email', $record->second_contact_email ?? '') }}" autocomplete="email" autocapitalize="none" spellcheck="false">
    </div>
    <div class="col-md-6 mb-3">
        <label class="form-label">Phone Number with Country Code</label>
        <input type="text" name="second_contact_phone" class="form-control" value="{{ old('second_contact_phone', $record->second_contact_phone ?? '') }}">
    </div>
</div>
