<?php

include_once('include/head.php');
include_once('include/purepower-data.php');

?>

<body>

<div class="main-page-wrapper">

<?php include_once('include/header.php'); ?>
	<link rel="stylesheet" href="<?php path(); ?>/assets/css/purepower.css" />

<main>

<div class="page-title-area text-center pt-100 pb-100 pt-lg-130 pb-lg-130"
    data-background="assets/img/bg/main-bg.png">
    <div class="container">
        <span class="purepower-label">
            <?= htmlspecialchars($purepower['dealer']); ?>
        </span>
        <h2 class="page-title mb-15">
            <?= htmlspecialchars($purepower['hero']['title']); ?>
        </h2>
        <p class="purepower-page-subtitle">
            <?= htmlspecialchars($purepower['hero']['subtitle']); ?>
        </p>
    </div>
</div>

<section class="purepower-intro pt-120 pt-lg-80 pb-80">
    <div class="container">
        <div class="row align-items-center">

            <div class="col-lg-6">
                <div class="purepower-content">
                    <span class="section-subtitle">
                        PuREPower Energy Storage 
                    </span>

                    <h1>
                        <?= htmlspecialchars($purepower['hero']['title']); ?>
                    </h1>

                    <p>
                        <?= htmlspecialchars($purepower['hero']['description']); ?>
                    </p>

                    <div class="purepower-buttons">
                        <a href="<?php path(); ?>/purepower-home" class="btn btn-brand">
                            Explore Home
                            <i class="bi bi-arrow-right"></i>
                        </a>

                        <a href="<?php path(); ?>/purepower-commercial" class="btn btn-cus-sec">
                            Explore Commercial
                        </a>
                    </div>
                </div>
            </div>

            <div class="col-lg-6">
                <div class="purepower-main-image">
                    <img src="<?php path(); ?>/<?= htmlspecialchars($purepower['hero']['image']); ?>"
                         alt="PuREPower Energy Storage">
                </div>
            </div>

        </div>
    </div>
</section>

<section class="purepower-features pt-80 pb-100">
    <div class="container">

        <div class="section-title text-center mb-50">
            <span class="section-subtitle">Why PuREPower</span>
            <h2>Smart Energy Storage for Modern Power Needs</h2>
            <p>
                Integrated energy storage solutions combining battery technology,
                solar compatibility and intelligent energy management.
            </p>
        </div>

        <div class="row">

            <?php foreach ($purepower['features'] as $feature): ?>

            <div class="col-lg-3 col-md-6 mb-30">

                <div class="purepower-feature-card">

                    <div class="feature-icon">
                        <i class="<?= htmlspecialchars($feature['icon']); ?>"></i>
                    </div>

                    <h3>
                        <?= htmlspecialchars($feature['title']); ?>
                    </h3>

                    <p>
                        <?= htmlspecialchars($feature['description']); ?>
                    </p>

                </div>

            </div>

            <?php endforeach; ?>

        </div>

    </div>
</section>

<section class="purepower-categories pt-100 pb-100">
    <div class="container">

        <div class="section-title text-center mb-60">
            <span class="section-subtitle">PuREPower Solutions</span>
            <h2>Energy Storage for Homes & Businesses</h2>
            <p>
                Choose the PuREPower solution that matches your energy requirements.
            </p>
        </div>

        <div class="row">

            <?php foreach ($purepower['categories'] as $key => $category): ?>

            <div class="col-lg-6 mb-40">

                <div class="purepower-category-card">

                    <div class="category-image">
                        <img src="<?php path(); ?>/<?= htmlspecialchars($category['image']); ?>"
                             alt="<?= htmlspecialchars($category['title']); ?>">
                    </div>

                    <div class="category-content">

                        <span class="category-label">
                            <?= htmlspecialchars($category['label']); ?>
                        </span>

                        <h2>
                            <?= htmlspecialchars($category['title']); ?>
                        </h2>

                        <h4>
                            <?= htmlspecialchars($category['subtitle']); ?>
                        </h4>

                        <p>
                            <?= htmlspecialchars($category['description']); ?>
                        </p>

                        <?php if ($key === 'home'): ?>

                        <a href="<?php path(); ?>/purepower-home" class="category-link">
                            Explore Home Solutions
                            <i class="bi bi-arrow-right"></i>
                        </a>

                        <?php else: ?>

                        <a href="<?php path(); ?>/purepower-commercial" class="category-link">
                            Explore Commercial Solutions
                            <i class="bi bi-arrow-right"></i>
                        </a>

                        <?php endif; ?>

                    </div>

                </div>

            </div>

            <?php endforeach; ?>

        </div>

    </div>
</section>

<section class="purepower-dealer-section pt-100 pb-100">
    <div class="container">

        <div class="row align-items-center">

            <div class="col-lg-5">
                <div class="dealer-image">
                    <img src="<?php path(); ?>/assets/img/purepower/purepower-dealer.webp"
                         alt="Manral Solar PuREPower">
                </div>
            </div>

            <div class="col-lg-7">
                <div class="dealer-content">

                    <span class="section-subtitle">
                        Manral Solar
                    </span>

                    <h2>
                        <?= htmlspecialchars($purepower['dealer']); ?>
                    </h2>

                    <p>
                        Manral Solar offers PuREPower energy storage solutions
                        for residential and commercial customers in Uttarakhand.
                    </p>

                    <p>
                        Our team can help you understand your energy requirements,
                        select a suitable solution and plan the integration of
                        energy storage with your solar power system.
                    </p>

                    <a href="<?php path(); ?>/contact-us.php" class="btn btn-brand">
                        Get a PuREPower Consultation
                        <i class="bi bi-arrow-right"></i>
                    </a>

                </div>
            </div>

        </div>

    </div>
</section>

</main>

<?php include_once('include/footer.php'); ?>

</div>

</body>
</html>