<?php
require_once "data/products.php";
require_once "data/home.php";
require_once "includes/header.php";
$industries=["Automotive","Electrical","Engineering","Furniture","Metal Manufacturing","Infrastructure","General Industry"];
$capabilities=[
["icon"=>"bi-gear-wide-connected","title"=>"Engineering Expertise"],
["icon"=>"bi-shield-check","title"=>"Quality Focused"],
["icon"=>"bi-layers","title"=>"Complete Solutions"],
["icon"=>"bi-people","title"=>"Experienced Team"],
["icon"=>"bi-headset","title"=>"After-Sales Support"]
];
$stats=[
["value"=>"25+","label"=>"Years of Experience"],
["value"=>"7","label"=>"Product Categories"],
["value"=>"20+","label"=>"Industrial Solutions"],
["value"=>"100+","label"=>"Satisfied Clients"]
];
?>

<section class="hero-section">

    <div id="heroSlider" class="carousel slide carousel-fade" data-bs-ride="carousel">

        <div class="carousel-indicators">

            <?php foreach($hero_slides as $index=>$slide): ?>

                <button
                    type="button"
                    data-bs-target="#heroSlider"
                    data-bs-slide-to="<?=$index?>"
                    class="<?=$index===0?'active':''?>"
                    aria-label="Slide <?=$index+1?>">
                </button>

            <?php endforeach; ?>

        </div>

        <div class="carousel-inner">

            <?php foreach($hero_slides as $index=>$slide): ?>

                <div class="carousel-item <?=$index===0?'active':''?>">

                    <div
                        class="hero-slide"
                        style="background-image:url('<?=htmlspecialchars($slide["image"])?>');">

                        <div class="hero-overlay"></div>

                        <div class="container position-relative">

                            <div class="hero-content">

                                <span class="eyebrow">
                                    <?=htmlspecialchars($slide["eyebrow"])?>
                                </span>

                                <h1>
                                    <?=htmlspecialchars($slide["title"])?>
                                    <br>
                                    <strong>
                                        <?=htmlspecialchars($slide["highlight"])?>
                                    </strong>
                                </h1>

                                <p class="hero-subtitle">
                                    <?=htmlspecialchars($slide["subtitle"])?>
                                </p>

                                <p class="hero-description">
                                    <?=htmlspecialchars($slide["description"])?>
                                </p>

                                <div class="hero-actions">

                                    <a href="#products" class="btn btn-brand">
                                        Explore Products
                                        <i class="bi bi-arrow-right"></i>
                                    </a>

                                    <a href="#contact" class="btn btn-outline-brand">
                                        Get a Quote
                                    </a>

                                </div>

                                <div class="hero-points">

                                    <?php foreach($hero_points as $point): ?>

                                        <div class="hero-point">

                                            <i class="bi <?=htmlspecialchars($point["icon"])?>"></i>

                                            <span>
                                                <?=htmlspecialchars($point["title"])?>
                                            </span>

                                        </div>

                                    <?php endforeach; ?>

                                </div>

                            </div>

                        </div>

                        <div class="hero-signature">
                            Coating<br>
                            Solutions<br>
                            for a Better<br>
                            Tomorrow
                        </div>

                    </div>

                </div>

            <?php endforeach; ?>

        </div>

        <button
            class="carousel-control-prev hero-control"
            type="button"
            data-bs-target="#heroSlider"
            data-bs-slide="prev">

            <span class="carousel-control-prev-icon"></span>

        </button>

        <button
            class="carousel-control-next hero-control"
            type="button"
            data-bs-target="#heroSlider"
            data-bs-slide="next">

            <span class="carousel-control-next-icon"></span>

        </button>

    </div>

</section>



<section class="about-section section-space">

    <div class="container">

        <div class="row align-items-center g-5">

            <div class="col-lg-5">

                <div class="about-image">

                    <img
                        src="<?=htmlspecialchars($about_home["image"])?>"
                        alt="<?=htmlspecialchars($site["name"])?>">

                    <div class="about-image-badge">
                        <strong><?=htmlspecialchars($site["founded"])?></strong>
                        <span>Established</span>
                    </div>

                </div>

            </div>

            <div class="col-lg-5">

                <div class="about-content">

                    <span class="eyebrow">
                        <?=htmlspecialchars($about_home["eyebrow"])?>
                    </span>

                    <h2>
                        <?=htmlspecialchars($about_home["title"])?>
                        <strong><?=htmlspecialchars($about_home["highlight"])?></strong>
                    </h2>

                    <div class="section-line"></div>

                    <p>
                        <?=htmlspecialchars($about_home["description"])?>
                    </p>

                    <a
                        href="<?=htmlspecialchars($about_home["button_link"])?>"
                        class="btn btn-brand">

                        <?=htmlspecialchars($about_home["button_text"])?>

                        <i class="bi bi-arrow-right"></i>

                    </a>

                </div>

            </div>

            <div class="col-lg-2">

                <div class="stats-list">

                    <?php foreach($home_stats as $stat): ?>

                        <div class="stat-item">

                            <strong>
                                <?=htmlspecialchars($stat["value"])?>
                            </strong>

                            <span>
                                <?=htmlspecialchars($stat["label"])?>
                            </span>

                        </div>

                    <?php endforeach; ?>

                </div>

            </div>

        </div>

    </div>

</section>

<section class="products-section section-space" id="products">

    <div class="container">

        <div class="section-heading products-heading">

            <div>
                <span class="eyebrow">Our Products</span>

                <h2>
                    Industrial Solutions for<br>
                    <strong>Every Application</strong>
                </h2>
            </div>

            <div class="products-heading-right">

                <p>
                    Complete systems for coating, painting, curing,
                    drying and surface treatment applications.
                </p>

                <a href="products.php" class="text-link">
                    Explore All Products
                    <i class="bi bi-arrow-right"></i>
                </a>

            </div>

        </div>

        <div class="products-grid">

            <?php foreach($products as $index=>$product): ?>

                <article class="product-card">

                    <a
                        href="product-category.php?slug=<?=urlencode($product["slug"])?>"
                        class="product-image">

                        <img
                            src="<?=htmlspecialchars($product["image"])?>"
                            alt="<?=htmlspecialchars($product["category"])?>"
                            loading="lazy">

                        <!-- <span class="product-number">
                            <?=str_pad($index+1,2,"0",STR_PAD_LEFT)?>
                        </span> -->

                        <span class="product-image-arrow">
                            <i class="bi bi-arrow-up-right"></i>
                        </span>

                    </a>

                    <div class="product-body">

                        <!-- <span class="product-category">
                            Product <?=str_pad($index+1,2,"0",STR_PAD_LEFT)?>
                        </span> -->

                        <h3>
                            <?=htmlspecialchars($product["category"])?>
                        </h3>
<?php if (!empty($product["items"])): ?>

    <div class="product-items">

        <?php foreach ($product["items"] as $item): ?>

            <span>
                <i class="bi bi-arrow-right-short"></i>
                <?= htmlspecialchars($item["name"], ENT_QUOTES, 'UTF-8') ?>
            </span>

        <?php endforeach; ?>

    </div>

<?php endif; ?>

                        <a
                            href="product-category.php?slug=<?=urlencode($product["slug"])?>"
                            class="product-link">

                            View Products
                            <i class="bi bi-arrow-right"></i>

                        </a>

                    </div>

                </article>

            <?php endforeach; ?>

        </div>

    </div>

</section>

<section class="why-section section-space" id="capabilities">

    <div class="container">

        <div class="row align-items-center g-5">

            <div class="col-lg-5">

                <div class="why-content">

                    <span class="eyebrow">
                        Why Choose MVSK
                    </span>

                    <h2>
                        Built on Experience.
                        <strong>Driven by Quality.</strong>
                    </h2>

                    <div class="section-line"></div>

                    <p>
                        We combine engineering expertise, quality manufacturing
                        and customer-focused solutions to deliver dependable
                        coating and surface treatment systems for diverse
                        industrial applications.
                    </p>

                    <a href="capabilities.php" class="btn btn-brand">
                        Explore Our Capabilities
                        <i class="bi bi-arrow-right"></i>
                    </a>

                </div>

            </div>

            <div class="col-lg-7">

                <div class="capability-list">

                    <?php foreach($capabilities_home as $capability): ?>

                        <div class="capability-item">

                            <div class="capability-number">
                                <?=htmlspecialchars($capability["number"])?>
                            </div>

                            <div class="capability-icon">
                                <i class="bi <?=htmlspecialchars($capability["icon"])?>"></i>
                            </div>

                            <div class="capability-content">

                                <h3>
                                    <?=htmlspecialchars($capability["title"])?>
                                </h3>

                                <p>
                                    <?=htmlspecialchars($capability["description"])?>
                                </p>

                            </div>

                            <i class="bi bi-arrow-up-right capability-arrow"></i>

                        </div>

                    <?php endforeach; ?>

                </div>

            </div>

        </div>

    </div>

</section>


<section class="industries-section section-space" id="industries">

    <div class="container">

        <div class="industries-header">

            <div>
                <span class="eyebrow">
                    Industries We Serve
                </span>

                <h2>
                    Powering Progress<br>
                    <strong>Across Industries</strong>
                </h2>
            </div>

            <div class="industries-intro">

                <p>
                    Our coating and surface treatment solutions are
                    designed for diverse industrial applications,
                    from component manufacturing to large-scale
                    production environments.
                </p>

            </div>

        </div>

        <div class="industries-grid">

            <?php foreach($industries_home as $index=>$industry): ?>

                <a
                    href="industries.php?industry=<?=urlencode($industry["name"])?>"
                    class="industry-card">

                    <div class="industry-image">

                        <img
                            src="<?=htmlspecialchars($industry["image"])?>"
                            alt="<?=htmlspecialchars($industry["name"])?>"
                            loading="lazy">

                    </div>

                    <div class="industry-overlay"></div>

                    <!-- <div class="industry-number">
                        <?=str_pad($index+1,2,"0",STR_PAD_LEFT)?>
                    </div> -->

                    <div class="industry-content">

                        <h3>
                            <?=htmlspecialchars($industry["name"])?>
                        </h3>

                        <span>
                            Explore Industry
                            <i class="bi bi-arrow-up-right"></i>
                        </span>

                    </div>

                </a>

            <?php endforeach; ?>

        </div>

    </div>

</section>



<section class="journey-section">

    <div class="journey-image">

        <img
            src="<?=htmlspecialchars($journey_home["image"])?>"
            alt="MVSK Industries industrial manufacturing"
            loading="lazy">

        <div class="journey-image-overlay"></div>

        <div class="journey-image-caption">
            <span>MVSK INDUSTRIES LLP</span>
            <strong>Since <?=htmlspecialchars($site["founded"])?></strong>
        </div>

    </div>

    <div class="journey-content">

        <div class="journey-inner">

            <span class="eyebrow">
                <?=htmlspecialchars($journey_home["eyebrow"])?>
            </span>

            <h2>
                <?=htmlspecialchars($journey_home["title"])?>
            </h2>

            <div class="section-line"></div>

            <p>
                <?=htmlspecialchars($journey_home["description"])?>
            </p>

            <div class="journey-timeline">

                <?php foreach($journey_points as $index=>$point): ?>

                    <div class="journey-point">

                        <div class="journey-point-marker">
                            <?=htmlspecialchars($point["year"])?>
                        </div>

                        <div class="journey-point-content">

                            <h3>
                                <?=htmlspecialchars($point["title"])?>
                            </h3>

                            <p>
                                <?=htmlspecialchars($point["description"])?>
                            </p>

                        </div>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>

    </div>

</section>


<section class="projects-section">

    <div class="container-fluid px-lg-5">

        <div class="projects-header">

            <div>
                <span class="eyebrow">Project Showcase</span>

                <h2>
                    Solutions Built for
                    <span>Industrial Performance</span>
                </h2>
            </div>

            <div class="projects-header-right">

                <p>
                    Explore our range of industrial coating, painting,
                    curing, drying and surface treatment solutions.
                </p>

                <a href="projects.php" class="text-link">
                    View All Projects
                    <i class="bi bi-arrow-right"></i>
                </a>

            </div>

        </div>

        <div class="projects-gallery">

            <?php foreach($projects_home as $index=>$project): ?>

                <a
                    href="project.php?slug=<?=urlencode($project["slug"])?>"
                    class="project-item project-item-<?=($index+1)?>">

                    <div class="project-image">

                        <img
                            src="<?=htmlspecialchars($project["image"])?>"
                            alt="<?=htmlspecialchars($project["title"])?>"
                            loading="lazy">

                        <div class="project-overlay"></div>

                        <!-- <div class="project-number">
                            <?=str_pad($index+1,2,"0",STR_PAD_LEFT)?>
                        </div> -->

                        <div class="project-content">

                            <span>
                                <?=htmlspecialchars($project["category"])?>
                            </span>

                            <h3>
                                <?=htmlspecialchars($project["title"])?>
                            </h3>

                        </div>

                        <div class="project-arrow">
                            <i class="bi bi-arrow-up-right"></i>
                        </div>

                    </div>

                </a>

            <?php endforeach; ?>

        </div>

    </div>

</section>

 
<section class="quote-cta">

    <div class="quote-cta-pattern"></div>

    <div class="container-fluid px-lg-5">

        <div class="quote-cta-inner">

            <div class="quote-cta-content">

                <span class="eyebrow">
                    <?=htmlspecialchars($quote_cta["eyebrow"])?>
                </span>

                <h2>
                    <?=htmlspecialchars($quote_cta["title"])?>
                </h2>

                <p>
                    <?=htmlspecialchars($quote_cta["description"])?>
                </p>

            </div>

            <div class="quote-cta-actions">

                <a
                    href="<?=htmlspecialchars($quote_cta["button_link"])?>"
                    class="btn btn-brand quote-main-btn">

                    <?=htmlspecialchars($quote_cta["button_text"])?>

                    <i class="bi bi-arrow-right"></i>

                </a>

                <a
                    href="<?=htmlspecialchars($quote_cta["secondary_link"])?>"
                    class="quote-secondary-link">

                    <?=htmlspecialchars($quote_cta["secondary_text"])?>

                    <i class="bi bi-arrow-up-right"></i>

                </a>

            </div>

        </div>

    </div>

</section>


<section class="contact-section" id="enquiry">

    <div class="container-fluid px-lg-5">

        <div class="contact-grid">

            <div class="contact-info">

                <span class="eyebrow">Get In Touch</span>

                <h2>
                    Let's Discuss Your
                    <span>Industrial Requirement</span>
                </h2>

                <p class="contact-intro">
                    Share your requirement with our team and let us understand
                    your application, production needs and equipment requirements.
                </p>

                <div class="contact-details">

                    <div class="contact-detail">

                        <div class="contact-icon">
                            <i class="bi bi-geo-alt"></i>
                        </div>

                        <div>
                            <span>Our Location</span>
                            <strong>
                                <?=htmlspecialchars($site["address"])?>
                            </strong>
                        </div>

                    </div>

                    <div class="contact-detail">

                        <div class="contact-icon">
                            <i class="bi bi-telephone"></i>
                        </div>

                        <div>
                            <span>Call Us</span>

                            <strong>
                                <a href="tel:<?=htmlspecialchars($site["phone"][0])?>">
                                    <?=htmlspecialchars($site["phone"][0])?>
                                </a>

                                <a href="tel:<?=htmlspecialchars($site["phone"][1])?>">
                                    <?=htmlspecialchars($site["phone"][1])?>
                                </a>
                            </strong>

                        </div>

                    </div>

                    <div class="contact-detail">

                        <div class="contact-icon">
                            <i class="bi bi-envelope"></i>
                        </div>

                        <div>
                            <span>Email Us</span>

                            <strong>
                                <a href="mailto:<?=htmlspecialchars($site["email"][0])?>">
                                    <?=htmlspecialchars($site["email"][0])?>
                                </a>

                                <a href="mailto:<?=htmlspecialchars($site["email"][1])?>">
                                    <?=htmlspecialchars($site["email"][1])?>
                                </a>
                            </strong>

                        </div>

                    </div>

                </div>

            </div>

            <div class="contact-form-wrap">

                <div class="contact-form-heading">

                    <span>Enquiry Form</span>

                    <h3>Tell Us What You Need</h3>

                </div>

                <form action="submit-enquiry.php" method="post">

                    <div class="row g-3">

                        <div class="col-md-6">

                            <label for="name">Name</label>

                            <input
                                type="text"
                                id="name"
                                name="name"
                                placeholder="Your Name"
                                required>

                        </div>

                        <div class="col-md-6">

                            <label for="company">Company</label>

                            <input
                                type="text"
                                id="company"
                                name="company"
                                placeholder="Company Name">

                        </div>

                        <div class="col-md-6">

                            <label for="phone">Phone</label>

                            <input
                                type="tel"
                                id="phone"
                                name="phone"
                                placeholder="Phone Number"
                                required>

                        </div>

                        <div class="col-md-6">

                            <label for="email">Email</label>

                            <input
                                type="email"
                                id="email"
                                name="email"
                                placeholder="Email Address"
                                required>

                        </div>

                        <div class="col-12">

                            <label for="requirement">Requirement</label>

                            <select
                                id="requirement"
                                name="requirement"
                                required>

                                <option value="" selected disabled>
                                    Select Your Requirement
                                </option>

                                <?php foreach($products as $product): ?>

                                    <option value="<?=htmlspecialchars($product["category"])?>">
                                        <?=htmlspecialchars($product["category"])?>
                                    </option>

                                <?php endforeach; ?>

                                <option value="Other">
                                    Other Requirement
                                </option>

                            </select>

                        </div>

                        <div class="col-12">

                            <label for="message">Message</label>

                            <textarea
                                id="message"
                                name="message"
                                rows="4"
                                placeholder="Tell us about your requirement"></textarea>

                        </div>

                        <div class="col-12">

                            <button type="submit" class="btn btn-brand contact-submit">

                                Send Enquiry

                                <i class="bi bi-arrow-right"></i>

                            </button>

                        </div>

                    </div>

                </form>

            </div>

        </div>

    </div>

</section> 



<?php require_once "includes/footer.php"; ?>