<!-- VIDEO TESTIMONIALS (Unlimited Dynamic) -->
<div class="form-card section-divider" id="section-video_testimonials">
    <h3>Video Testimonials Section</h3>
    <input type="text" name="video_testimonials_title" value="<?php echo htmlspecialchars($landing['video_testimonials_title'] ?? '৫০০০+ খামারির পছন্দ – ভিডিও রিভিউ'); ?>"
           placeholder="Title" required class="mb-2">
    <textarea name="video_testimonials_subtext" rows="2" placeholder="আসল খামারিদের মুখে শুনুন..."
              required class="mb-2"><?php echo htmlspecialchars($landing['video_testimonials_subtext'] ?? 'আসল খামারিদের মুখে শুনুন – ফলাফল নিজের চোখে দেখুন!'); ?></textarea>
    <div id="videoTestimonialsContainer">
        <?php if (!empty($video_testimonials)): ?>
            <?php foreach ($video_testimonials as $index => $testimonial): ?>
                <div class="video-testimonial-row">
                    <div class="flex justify-between items-center mb-2">
                        <h4>Video Testimonial <?php echo $index; ?></h4>
                        <button type="button" class="remove-btn" onclick="removeVideoTestimonial(this)">Remove</button>
                    </div>
                    <input type="text" name="video_url[]" value="<?php echo htmlspecialchars($testimonial['video_url'] ?? ''); ?>"
                           placeholder="Video URL (e.g. https://www.youtube.com/embed/...)" required class="mb-1">
                    <input type="text" name="video_caption[]" value="<?php echo htmlspecialchars($testimonial['caption'] ?? ''); ?>"
                           placeholder="Caption" required>
                </div>
            <?php endforeach; ?>
        <?php else: ?>
            <div class="video-testimonial-row">
                <div class="flex justify-between items-center mb-2">
                    <h4>Video Testimonial 1</h4>
                    <button type="button" class="remove-btn" onclick="removeVideoTestimonial(this)">Remove</button>
                </div>
                <input type="text" name="video_url[]" value="" placeholder="Video URL (e.g. https://www.youtube.com/embed/dQw4w9WgXcQ)" required class="mb-1">
                <input type="text" name="video_caption[]" value="" placeholder="Caption" required>
            </div>
        <?php endif; ?>
    </div>
    <button type="button" class="add-btn" onclick="addVideoTestimonial()">Add New Video Testimonial</button>
</div>