<?php // phpcs:ignore
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Template for theme info page.
 *
 */

?>
<div id="welcome-panels" class="welcome-panel ai-tutor-hero ">
	<div class="welcome-panel-content ai-tutor-hero">
		<div class="welcome-panel-header ai-tutor-hero">
			<h2>
				<?php esc_html_e( 'Welcome to AI Tutor', 'ai-tutor' ); ?>
			</h2>
			<p>
				<?php
				esc_html_e( 'AI Tutor is designed to give your website a bold, elegant, and professional look—ready to launch in just a few clicks.', 'ai-tutor' );
				?>
			</p>




		<div class="not-link">
			<a href="https://www.thealphablocks.com/themes/school-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-btn ai-tutor-btn-default button button-secodary button-hero ddd" >
				<?php esc_html_e( 'Buy Now', 'ai-tutor' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-btn ai-tutor-btn-default button button-secodary button-hero bbb" target="_blank">
				<?php esc_html_e( 'Get All Themes', 'ai-tutor' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/demos/school-classroom-pro/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-btn ai-tutor-btn-default button button-secodary button-hero ccc" target="_blank">
				<?php esc_html_e( 'Live Demo', 'ai-tutor' ); ?>
			</a>
			<a href="https://www.thealphablocks.com/docs/ai-tutor-free/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-gsn-btn  ai-tutor-btn-outline button button-primary button-hero ghf ai-tutor-install-plugins"  target="_blank">
				<?php esc_html_e( 'Documentation', 'ai-tutor' ); ?>
			</a>
		</div>
		</div>

		<div class="bundle-img-wrap">
            <img src="<?php echo esc_url( get_theme_file_uri() . '/images/main-banner.png' ); ?>">
        </div>
		
	</div>
</div>

<div class="ai-tutor-main">
	<div class="row margin ai-tutor-main-wrp">
		<div class="col-lg-3">
			<div class="ai-tutor-main-sidebar">
				<div class="theme-screenshot-box">
					<div class="ai-tutor-card-header abc">
						<h4 class="ai-tutor-card-header-ttl">
							<?php esc_html_e( 'Premium Theme', 'ai-tutor' ); ?>
						</h4>
					</div>	
					<div class="screenshot-container" id="screenshotContainer">
						<img id="scrollImage" src="<?php echo esc_url( get_theme_file_uri() . '/images/screenshort-image.png' ); ?>">
					</div>
				</div>
			</div>
		</div>

		<div class="col-lg-6 alpha-right">
			<div class="ai-tutor-main-cont">
				<div class="row features">
					<div class="col-md-6 col-xl-3">
						<div class="ai-tutor-card">
							<div class="ai-tutor-card-header">
								<span class="dashicons dashicons-media-document"></span>
								<h4 class="ai-tutor-card-header-mmm">
									<?php esc_html_e( 'Responsive Design', 'ai-tutor' ); ?>
								</h4>
							</div>
							<div class="ai-tutor-card-body">
								<p class="margin">
									<?php esc_html_e( 'Your website adapts to all screen sizes for seamless viewing experience.', 'ai-tutor' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="ai-tutor-card">
							<div class="ai-tutor-card-header">
								<span class="dashicons dashicons-groups"></span>
									<h4 class="ai-tutor-card-header-mmm">
									<?php esc_html_e( 'Demo Import', 'ai-tutor' ); ?>
								</h4>
							</div>
							<div class="ai-tutor-card-body">
								<p class="margin">
									<?php esc_html_e( 'Our themes has one-click demo import making it easier to launch website.', 'ai-tutor' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="ai-tutor-card">
							<div class="ai-tutor-card-header">
								<span class="dashicons dashicons-backup"></span>
									<h4 class="ai-tutor-card-header-mmm">
									<?php esc_html_e( 'Cross Browser Compatible
									', 'ai-tutor' ); ?>
								</h4>
							</div>
							<div class="ai-tutor-card-body">
								<p class="margin">
									<?php esc_html_e( 'Runs smoothly across all major browsers for consistent site experience.', 'ai-tutor' ); ?>
								</p>
								
							</div>
						</div>
					</div>
					<div class="col-md-6 col-xl-3">
						<div class="ai-tutor-card">
							<div class="ai-tutor-card-header">
								<span class="dashicons dashicons-video-alt3"></span>
									<h4 class="ai-tutor-card-header-mmm">
									<?php esc_html_e( 'Easy Customization', 'ai-tutor' ); ?>
								</h4>
							</div>
							<div class="ai-tutor-card-body">
								<p class="margin">
									<?php esc_html_e( 'Quickly personalize fonts, colors, and layouts using simple customization panel.', 'ai-tutor' ); ?>
								</p>
								
							</div>
						</div>
					</div>
				</div>
				
					<div class="<?php echo esc_attr( $quick_links_col ); ?>">
						<div class="ai-tutor-card">
							<div class="ai-tutor-card-header justify-content ">
								<span class="dashicons dashicons-admin-links"></span>
								<h4 class="ai-tutor-card-header-ttl">
									<?php esc_html_e( 'Quick Links', 'ai-tutor' ); ?>
								</h4>
							</div>
							<div class="ai-tutor-card-body">
								<div class="ai-tutor-card-btn-grp rrr">
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?categoryId=header&postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Header', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . AI_TUTOR_THEME_NAME . '%2F%2Ffooter&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Footer', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part&postId=' . AI_TUTOR_THEME_NAME . '%2F%2Fsidebar&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Sidebar', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" 
										href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . AI_TUTOR_THEME_NAME . '%2F%2Fhome&canvas=edit' ) ); ?>" 
										target="_blank">
										<?php esc_html_e( 'Edit Blog Home', 'ai-tutor' ); ?>
									</a>

									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template_part' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Template Parts', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . AI_TUTOR_THEME_NAME . '%2F%2Ffront-page&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Frontpage', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template&postId=' . AI_TUTOR_THEME_NAME . '%2F%2Farchive&canvas=edit' ) ); ?>" target="_blank">
										<?php esc_html_e( 'Edit Archive Page', 'ai-tutor' ); ?>
									</a>
									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col" href="<?php echo esc_url( admin_url( 'site-editor.php?postType=wp_template' ) ); ?>" target="_blank">
										<?php esc_html_e( 'All Templates', 'ai-tutor' ); ?>
									</a>

									<a class="ai-tutor-btn ai-tutor-btn-primary-outline button button-hero btn-col visit-site" href="<?php echo esc_url( home_url( '/' ) ); ?>" target="_blank">
										<?php esc_html_e( 'VISIT SITE', 'ai-tutor' ); ?>
									</a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<?php
				$faqs = function_exists( 'ai_tutor_get_theme_faq' ) ? ai_tutor_get_theme_faq() : null;
				if ( $faqs ) {
					?>
						<div class="row">
							<div class="col-12">
								<div class="ai-tutor-card">
									<div class="ai-tutor-card-header">
										<span class="dashicons dashicons-format-chat"></span>
										<h4 class="ai-tutor-card-header-ttl">
											<?php esc_html_e( 'Frequently Asked Questions', 'ai-tutor' ); ?>
										</h4>
									</div>
									<div class="ai-tutor-card-body">
										<div class="ai-tutor-accordion">
									<div class="ai-tutor-accordion ">
									<?php foreach ( $faqs as $key => $faq ) : ?>
										<details class="ai-tutor-accordion-section ">
											<summary class="ai-tutor-accordion-section-title">
												<h4 class="ai-tutor-accordion-heading">
													<span class="dashicons dashicons-arrow-right"></span>
													<?php echo esc_html( $faq['q'] ); ?>
												</h4>
											</summary>
											<div id="ai-tutor-info-faq-<?php echo esc_attr( $key ); ?>" class="ai-tutor-accordion-section-content">
												<?php echo wp_kses_post( $faq['a'] ); ?>
											</div>
										</details>
									<?php endforeach; ?>
								</div>
								</div>

									</div>
								</div>
							</div>
						</div>
					<?php
				}
				?>
			</div>

		<div class="col-lg-3">
			<div class="ai-tutor-main-sidebar">
				
				<div class="ai-tutor-card">
					<div class="ai-tutor-card-header abc">
						<h4 class="ai-tutor-card-header-ttl">
							<?php esc_html_e( 'Buy Premium Theme', 'ai-tutor' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Our Premium WordPress Themes are crafted to deliver powerful design, seamless performance, and full customization options—perfect for building stunning, professional websites with ease.', 'ai-tutor' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/school-wordpress-theme/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-btn ai-tutor-btn-default button button-secodary button-hero cba cbaa" target="_blank">
						<?php esc_html_e( 'Buy Now $40', 'ai-tutor' ); ?>
					</a>
			
				</div>

				<div class="ai-tutor-card">
					<div class="bundle-image-wrap">
			            <img src="<?php echo esc_url( get_template_directory_uri() . '/images/bundle-image.png' ); ?>">
			        </div>
					<div class="ai-tutor-card-header abc">
						<h4 class="ai-tutor-card-header-ttl">
							<?php esc_html_e( 'Get All Themes', 'ai-tutor' ); ?>
						</h4>
					</div>

					<div class="bun-para">
						<p><?php esc_html_e( 'Whether you need a website for a blog, business, portfolio, or online store, this WP Theme Bundle provides everything you need for a visually appealing and fully functional site.', 'ai-tutor' ); ?></p>
					</div>
					
					<a href="https://www.thealphablocks.com/themes/wordpress-theme-bundle/" target="_blank" rel="noopener noreferrer nofollow" class="ai-tutor-btn ai-tutor-btn-default button button-secodary button-hero cba" target="_blank">
						<?php esc_html_e( 'Get All Block Themes $59', 'ai-tutor' ); ?>
					</a>
			
				</div>

			</div>
			</div>

		</div>
	</div>
</div>

