<?php
require_once __DIR__ . "/data/about.php";
require_once __DIR__ . "/includes/header.php";
require_once __DIR__ . '/data/contact.php';

$section_slug = $_GET["section"] ?? "";
$selected_section = $about_sections[$section_slug] ?? null;
$hero_background = htmlspecialchars(
    $contact_page['banner_image'] ?? '',
    ENT_QUOTES,
    'UTF-8'
);
?>

<?php if (!$selected_section): ?>

    <style>
        .page-hero {
            position: relative;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        .page-hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg,
                    rgba(0, 0, 0, 0.68),
                    rgba(0, 0, 0, 0.30));
            pointer-events: none;
        }

        .page-hero .container-fluid,
        .page-hero-inner {
            position: relative;
            z-index: 1;
        }
    </style>

    <section
        class="page-hero about-page-hero"
        style="background-image: url('<?= $site['base_url'] ?><?= htmlspecialchars(
                                            $contact_page['banner_image'] ?? '',
                                            ENT_QUOTES,
                                            'UTF-8'
                                        ) ?>');">

        <div class="page-hero-overlay"></div>

        <div class="container-fluid px-lg-5">
            <div class="page-hero-inner">

                <span class="eyebrow">
                    <?= htmlspecialchars(
                        $about_page['eyebrow'] ?? 'About Us',
                        ENT_QUOTES,
                        'UTF-8'
                    ) ?>
                </span>

                <h1>
                    <?= htmlspecialchars(
                        $about_page['title'] ?? 'About Us',
                        ENT_QUOTES,
                        'UTF-8'
                    ) ?>
                </h1>

                <div class="breadcrumb-wrap">
                    <a href="<?= $site['base_url'] ?>index.php">Home</a>
                    <i class="bi bi-chevron-right"></i>
                    <span>About Us</span>
                </div>

            </div>
        </div>

    </section>


    <!-- <section class="about-introduction">

        <div class="container-fluid px-lg-5">

            <div class="about-introduction-grid">

                <div class="about-introduction-heading">

                    <span class="eyebrow">
                        Who We Are
                    </span>

                    <h2>
                        Focused on
                        Industrial Finishing Solutions
                    </h2>

                </div>

                <div class="about-introduction-content">

                    <p>
                        <?= htmlspecialchars($about_page["intro"]) ?>
                    </p>

                    <p>
                        Our product range brings together individual equipment
                        and complete systems for different stages of industrial
                        finishing and surface treatment.
                    </p>

                </div>

            </div>

        </div>

    </section> -->







    <section class="about-story-section">

        <div class="container-fluid px-lg-5">

            <div class="about-story-grid">

                <div class="about-story-image">

                    <img
                        src="<?= $site['base_url'] ?><?= htmlspecialchars($about_page["story_image"]) ?>"
                        alt="MVSK Industries industrial solutions"
                        loading="lazy">

                </div>

                <div class="about-story-content">

                    <span class="eyebrow">
                        Our Story
                    </span>

                    <h2>
                        <?= htmlspecialchars($about_page["story_title"]) ?>
                    </h2>

                    <div class="section-line"></div>

                    <p>
                        <?= htmlspecialchars($about_page["story_text"]) ?>
                    </p>

                    <div class="about-founded">

                        <span>Established<br><strong>1999</strong></span>

                        <!-- <strong>
                        <?= htmlspecialchars($site["founded"] ?? $about_page["founded"] ?? '') ?>
                    </strong> -->

                        <p>
                            Beginning with a focus on industrial coating
                            solutions and continuing to develop around
                            changing production requirements.
                        </p>

                    </div>

                </div>

            </div>

        </div>

    </section>



    <!-- =========================================
     VISION, MISSION & CORE VALUES SECTION
========================================= -->

    <section class="about-values-section">

        <div class="container-fluid px-lg-5">

            <!-- Section Heading -->
            <div class="about-section-heading">

                <span class="eyebrow">Our Foundation</span>

                <h2>
                    Vision, Mission & Core Values
                </h2>

                <p>
                    Engineering quality, building trust and creating the future
                    through reliable industrial solutions.
                </p>

            </div>


            <!-- =========================================
             VISION & MISSION
        ========================================== -->

            <div class="vision-mission-grid">

                <!-- Vision -->
                <!-- Vision -->
                <div class="vision-mission-card">

                    <div class="vision-card-heading">
                        <div class="about-card-icon">
                            <i class="bi bi-eye"></i>
                        </div>

                        <h3>Our Vision</h3>
                    </div>

                    <p>
                        To be a trusted and leading name in powder coating and
                        industrial finishing solutions by delivering innovative,
                        reliable and high-quality engineering solutions that create
                        lasting value for our customers.
                    </p>

                </div>

                <!-- Mission -->
                <div class="vision-mission-card">
                    <div class="vision-card-heading">
                        <div class="about-card-icon">
                            <i class="bi bi-bullseye"></i>
                        </div>

                        <h3>Our Mission</h3>
                    </div>

                    <p>
                        To deliver dependable powder coating and industrial
                        finishing equipment through quality engineering, advanced
                        manufacturing, professional installation and responsive
                        after-sales support.
                    </p>

                </div>

            </div>


            <!-- =========================================
             IMAGE-BASED CORE VALUES
        ========================================== -->

            <div class="core-values-wrapper">

                <div class="about-section-heading core-values-heading">

                    <span class="eyebrow">Our Principles</span>

                    <h2>
                        Our Core Values
                    </h2>

                </div>


                <div class="core-values-grid">

                    <!-- Ownership -->
                    <div class="core-value-card">

                        <div class="core-value-image">

                            <img src="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/about/ownership.webp') ?>" alt="Ownership and responsibility">
                        </div>

                        <div class="core-value-content">
                            <h3>Ownership</h3>

                            <p>
                                We take responsibility for our actions, commitments
                                and results while maintaining honesty,
                                accountability and professionalism.
                            </p>

                        </div>

                    </div>


                    <!-- Workmanship -->
                    <div class="core-value-card">

                        <div class="core-value-image">

                            <img src="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/about/workmanship.webp') ?>" alt="Quality workmanship">

                        </div>

                        <div class="core-value-content">

                            <h3>Workmanship</h3>

                            <p>
                                We focus on delivering high-quality workmanship in all our
                                products, services and industrial solutions.
                            </p>

                        </div>

                    </div>


                    <!-- Respect -->
                    <div class="core-value-card">

                        <div class="core-value-image">

                            <img src="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/about/respect.webp') ?>" alt="Respect and professional relationships">

                        </div>

                        <div class="core-value-content">

                            <h3>Respect</h3>

                            <p>
                                We treat our customers, employees, partners and
                                business associates with respect, care and
                                professionalism.
                            </p>

                        </div>

                    </div>


                    <!-- Unity -->
                    <div class="core-value-card">

                        <div class="core-value-image">

                            <img src="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/about/unity.webp') ?>" alt="Unity and teamwork">


                        </div>

                        <div class="core-value-content">

                            <h3>Unity</h3>

                            <p>
                                We believe in teamwork, mutual trust and
                                collaboration to achieve common goals and deliver
                                successful results.
                            </p>

                        </div>

                    </div>

                </div>


                <!-- =========================================
                 DETAILED CORE VALUES
            ========================================== -->

                <div class="detailed-core-values">

                    <div class="about-section-heading detailed-values-heading">

                        <span class="eyebrow">What Drives Us</span>

                        <h2>
                            Our Commitment to Excellence
                        </h2>

                        <p>
                            These values guide our approach to engineering,
                            manufacturing, customer relationships and long-term
                            business growth.
                        </p>

                    </div>


                    <div class="detailed-core-values-grid">

                        <!-- Quality -->
                        <div class="detailed-core-value-item">

                            <div class="detailed-value-icon">
                                <i class="bi bi-award"></i>
                            </div>

                            <div class="detailed-value-content">

                                <h3>Quality</h3>

                                <p>
                                    We believe quality is not an option but a
                                    commitment. Every product and project reflects
                                    our focus on precision, reliability and
                                    consistent performance.
                                </p>

                            </div>

                        </div>


                        <!-- Innovation -->
                        <div class="detailed-core-value-item">

                            <div class="detailed-value-icon">
                                <i class="bi bi-lightbulb"></i>
                            </div>

                            <div class="detailed-value-content">

                                <h3>Innovation</h3>

                                <p>
                                    We continuously explore better technologies,
                                    smarter solutions and improved processes to
                                    meet the changing needs of modern industries.
                                </p>

                            </div>

                        </div>


                        <!-- Customer Trust -->
                        <div class="detailed-core-value-item">

                            <div class="detailed-value-icon">
                                <i class="bi bi-people"></i>
                            </div>

                            <div class="detailed-value-content">

                                <h3>Customer Trust</h3>

                                <p>
                                    We build relationships through transparency,
                                    dependable service and a commitment to deliver
                                    what we promise.
                                </p>

                            </div>

                        </div>


                        <!-- Integrity -->
                        <div class="detailed-core-value-item">

                            <div class="detailed-value-icon">
                                <i class="bi bi-shield-check"></i>
                            </div>

                            <div class="detailed-value-content">

                                <h3>Integrity</h3>

                                <p>
                                    We conduct our business with honesty,
                                    responsibility and professional ethics,
                                    creating confidence among our customers and
                                    partners.
                                </p>

                            </div>

                        </div>


                        <!-- Teamwork -->
                        <div class="detailed-core-value-item">

                            <div class="detailed-value-icon">
                                <i class="bi bi-people"></i>
                            </div>

                            <div class="detailed-value-content">

                                <h3>Teamwork</h3>

                                <p>
                                    We believe great results are achieved when
                                    experienced people work together with respect,
                                    responsibility and a common purpose.
                                </p>

                            </div>

                        </div>

                    </div>

                </div>

            </div>


            <!-- =========================================
             MESSAGE FROM MANAGEMENT
        ========================================== -->

            <div class="management-message-section">

                <div class="management-message-content">

                    <span class="eyebrow">
                        A Message from the Management
                    </span>

                    <h2>
                        Engineering Quality. Building Trust.
                        Creating the Future.
                    </h2>

                    <p>
                        At MVSK Industries LLP, we believe that every successful
                        journey begins with a vision, but it is built through
                        commitment, quality and trust.
                    </p>

                    <p>
                        Since 1999, our journey has been driven by a simple
                        philosophy — to understand our customers' requirements,
                        deliver reliable solutions and continuously improve with
                        changing technology. Over the years, we have developed our
                        expertise in powder coating and industrial finishing
                        solutions, with a strong focus on engineering,
                        manufacturing, installation and after-sales support.
                    </p>

                    <p>
                        The industrial world is constantly evolving, and so are we.
                        We continuously work towards adopting better technologies,
                        improving our manufacturing capabilities and developing
                        solutions that deliver efficiency, durability and
                        consistent performance.
                    </p>

                    <p>
                        Our commitment is to build long-term relationships through
                        dependable products, professional service and continuous
                        innovation. We remain focused on creating lasting value for
                        our customers and contributing to the growth of modern
                        industries.
                    </p>

                    <div class="management-signature">

                        <strong>Management</strong>

                        <span>MVSK Industries LLP</span>

                    </div>

                </div>

            </div>


            <!-- =========================================
             ISO CERTIFICATE
        ========================================== -->

            <div class="iso-certificate-section">

                <div class="iso-certificate-content">

                    <span class="eyebrow">
                        Quality & Compliance
                    </span>

                    <h2>
                        Our ISO Certificate
                    </h2>

                    <p>
                        Our commitment to quality is supported by structured
                        processes, professional engineering practices and a focus
                        on customer satisfaction.
                    </p>

                    <p>
                        View our ISO certificate to learn more about our quality
                        and management standards.
                    </p>

                   <a
                        href="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/certificates/iso-certificate.webp') ?>"
                        class="btn btn-brand"
                        target="_blank"
                        rel="noopener">
                        <i class="bi bi-file-earmark-image"></i>
                        View ISO Certificate
                    </a>

                </div>


                <div class="iso-certificate-image">

                    <img src="<?= htmlspecialchars(rtrim($site['base_url'], '/') . '/assets/images/certificates/iso-certificate.webp') ?>" alt="MVSK Industries LLP ISO Certificate">

                </div>

            </div>

        </div>

    </section>

    <section class="about-values-section">

        <div class="container-fluid px-lg-5">

            <div class="about-values-header">

                <div>

                    <span class="eyebrow">
                        Our Approach
                    </span>

                    <h2>
                        What Guides Our
                        Solutions
                    </h2>

                </div>

                <p>
                    Our approach combines application understanding,
                    practical engineering and a focus on dependable
                    industrial operation.
                </p>

            </div>

            <div class="about-values-grid">

                <?php foreach ($about_values as $value): ?>

                    <div class="about-value">

                        <div class="about-value-icon">

                            <i class="bi <?= htmlspecialchars($value["icon"]) ?>"></i>

                        </div>

                        <div>

                            <h3>
                                <?= htmlspecialchars($value["title"]) ?>
                            </h3>

                            <p>
                                <?= htmlspecialchars($value["description"]) ?>
                            </p>

                        </div>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>

    </section>


    <section class="about-approach-section">

        <div class="about-approach-image">

            <img
                src="<?= $site['base_url'] ?><?= htmlspecialchars($about_page["approach_image"]) ?>"
                alt="Industrial coating equipment"
                loading="lazy">

            <div class="about-approach-overlay"></div>

        </div>

        <div class="about-approach-content">

            <span class="eyebrow">
                Our Philosophy
            </span>

            <h2>
                <?= htmlspecialchars($about_page["approach_title"]) ?>
            </h2>

            <div class="section-line"></div>

            <p>
                <?= htmlspecialchars($about_page["approach_text"]) ?>
            </p>

            <div class="about-capabilities">

                <?php foreach ($about_capabilities as $capability): ?>

                    <div class="about-capability">

                        <i class="bi bi-check2"></i>

                        <span>
                            <?= htmlspecialchars($capability) ?>
                        </span>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>

    </section>


<?php else: ?>



    <section
        class="page-hero about-page-hero"
        style="background-image: url('<?= $site['base_url'] ?><?= htmlspecialchars(
                                            $contact_page['banner_image'] ?? '',
                                            ENT_QUOTES,
                                            'UTF-8'
                                        ) ?>');">

        <div class="page-hero-overlay"></div>

        <div class="container-fluid px-lg-5">

            <div class="page-hero-inner">

                <span class="eyebrow">
                    <?= htmlspecialchars(
                        $selected_section['eyebrow'] ?? '',
                        ENT_QUOTES,
                        'UTF-8'
                    ) ?>
                </span>

                <h1>
                    <?= htmlspecialchars(
                        $selected_section['title'] ?? '',
                        ENT_QUOTES,
                        'UTF-8'
                    ) ?>
                </h1>

                <div class="breadcrumb-wrap">

                    <a href="<?= $site['base_url'] ?>index.php">
                        Home
                    </a>

                    <i class="bi bi-chevron-right"></i>

                    <a href="<?= $site['base_url'] ?>about.php">
                        About Us
                    </a>

                    <i class="bi bi-chevron-right"></i>

                    <span>
                        <?= htmlspecialchars(
                            $selected_section['eyebrow'] ?? '',
                            ENT_QUOTES,
                            'UTF-8'
                        ) ?>
                    </span>

                </div>

            </div>

        </div>

    </section>


    <section class="about-story-section">

        <div class="container-fluid px-lg-5">

            <div class="about-story-grid">

                <div class="about-story-image">

                    <img
                        src="<?= $site['base_url'] ?><?= htmlspecialchars($selected_section["image"]) ?>"
                        alt="<?= htmlspecialchars($selected_section["title"]) ?>"
                        loading="lazy">

                </div>

                <div class="about-story-content">

                    <span class="eyebrow">
                        <?= htmlspecialchars($selected_section["eyebrow"]) ?>
                    </span>

                    <h2>
                        <?= htmlspecialchars($selected_section["title"]) ?>
                    </h2>

                    <div class="section-line"></div>

                    <?php foreach ($selected_section["content"] as $paragraph): ?>

                        <p>
                            <?= htmlspecialchars($paragraph) ?>
                        </p>

                    <?php endforeach; ?>

                </div>

            </div>

        </div>

    </section>


    <section class="about-values-section">

        <div class="container-fluid px-lg-5">

            <div class="about-values-header">

                <div>

                    <span class="eyebrow">
                        MVSK Industries LLP
                    </span>

                    <h2>
                        Industrial
                        <span>Solutions</span>
                    </h2>

                </div>

                <p>
                    Our approach combines application understanding,
                    practical engineering and a focus on dependable
                    industrial operation.
                </p>

            </div>

            <div class="about-values-grid">

                <?php foreach ($about_values as $value): ?>

                    <div class="about-value">

                        <div class="about-value-icon">

                            <i class="bi <?= htmlspecialchars($value["icon"]) ?>"></i>

                        </div>

                        <div>

                            <h3>
                                <?= htmlspecialchars($value["title"]) ?>
                            </h3>

                            <p>
                                <?= htmlspecialchars($value["description"]) ?>
                            </p>

                        </div>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>

    </section>


    <section class="about-approach-section">

        <div class="about-approach-image">

            <img
                src="<?= $site['base_url'] ?><?= htmlspecialchars($about_page["approach_image"]) ?>"
                alt="Industrial coating equipment"
                loading="lazy">

            <div class="about-approach-overlay"></div>

        </div>

        <div class="about-approach-content">

            <span class="eyebrow">
                Our Philosophy
            </span>

            <h2>
                <?= htmlspecialchars($about_page["approach_title"]) ?>
            </h2>

            <div class="section-line"></div>

            <p>
                <?= htmlspecialchars($about_page["approach_text"]) ?>
            </p>

            <div class="about-capabilities">

                <?php foreach ($about_capabilities as $capability): ?>

                    <div class="about-capability">

                        <i class="bi bi-check2"></i>

                        <span>
                            <?= htmlspecialchars($capability) ?>
                        </span>

                    </div>

                <?php endforeach; ?>

            </div>

        </div>

    </section>


<?php endif; ?>


<section class="about-cta">

    <div class="container-fluid px-lg-5">

        <div class="about-cta-inner">

            <div>

                <span class="eyebrow">
                    Let's Work Together
                </span>

                <h2>
                    Looking for the Right
                    Industrial Solution?
                </h2>

                <p>
                    Tell us about your application and production
                    requirement.
                </p>

            </div>

            <a href="<?= $site['base_url'] ?>contact" class="btn btn-brand">

                Discuss Your Requirement

                <i class="bi bi-arrow-right"></i>

            </a>

        </div>

    </div>

</section>


<?php require_once __DIR__ . "/includes/footer.php"; ?>