<!-- FOOTER -->
<div class="form-card section-divider" id="section-footer">
    <h3>Footer</h3>
    <textarea name="footer_text" rows="2" placeholder="Made with Love in Bangladesh"
              required class="mb-2"><?php echo htmlspecialchars($landing['footer_text'] ?? 'Made with Love in Bangladesh'); ?></textarea>
    <input type="text" name="footer_copyright" value="<?php echo htmlspecialchars($landing['footer_copyright'] ?? '© 2025 Milk Booster. All rights reserved.'); ?>"
           placeholder="Copyright Text" required class="mb-2">
    <div class="grid-3">
        <?php for ($i = 1; $i <= 3; $i++): ?>
            <div class="border rounded p-2">
                <input type="text" name="footer_link_text_<?php echo $i; ?>"
                       value="<?php echo htmlspecialchars($footer_links[$i]['text'] ?? "Link $i"); ?>"
                       placeholder="Link Text" required class="mb-1">
                <input type="text" name="footer_link_url_<?php echo $i; ?>"
                       value="<?php echo htmlspecialchars($footer_links[$i]['url'] ?? "#"); ?>"
                       placeholder="Link URL" required>
            </div>
        <?php endfor; ?>
    </div>
</div>