<?php
$isAjax = isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest';
include "global.php";
global $dbF;

$uri_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$uri_segments = explode('/', $uri_path);
$default_lang = defaultWebLanguage();

if (!empty($uri_segments[1])) { // $uri_segments[2] When it is sub folder otherwise $uri_segments[1]
    // unset($uri_segments[1]); // Only use When it is sub folder otherwise comment it
    // $uri_segments = array_values($uri_segments); // Only use When it is sub folder otherwise comment it
    $full_hierarchy = implode('/', $uri_segments);
} else {
    $full_hierarchy = "";
}

$segment = end($uri_segments);
$temp = "1";

if ($full_hierarchy != "") {
    $sql_seo_slugNew = "SELECT `seo_id` FROM `seo_slug` WHERE `slug` = ?";
    $check_seo_slugNew = $dbF->getRow($sql_seo_slugNew, [ltrim($full_hierarchy, '/')]);

    if ($dbF->rowCount > 0) {
        $sql = "SELECT `pageLink` FROM `seo` WHERE `id` = '$check_seo_slugNew[seo_id]'";
    } else {
        $sql = "SELECT `pageLink` FROM `seo` WHERE `slug` = '$segment'";
    }

    $check = $dbF->getRow($sql);

    if ($dbF->rowCount > 0) {
        $temp = "0";
    } else {
        $sqlSEOSlugNew = "SELECT `seo_id` FROM `seo_slug` WHERE `slug` = '$segment'";
        $checkSEOSlugNew = $dbF->getRow($sqlSEOSlugNew);

        if ($dbF->rowCount > 0) {
            $sql = "SELECT `pageLink` FROM `seo` WHERE `id` = '$checkSEOSlugNew[seo_id]'";
        } else {
            $sql = "SELECT `pageLink` FROM `seo` WHERE `slug` = '$segment'";
        }

        $check = $dbF->getRow($sql);

        if ($dbF->rowCount > 0) {
            $temp = "0";
        }
    }
} else {
    $sql_seo_slug = "SELECT `seo_id` FROM `seo_slug` WHERE `slug` = '$segment'";
    $check_seo_slug = $dbF->getRow($sql_seo_slug);

    if ($dbF->rowCount > 0) {
        $sql = "SELECT `pageLink` FROM `seo` WHERE `id` = '$check_seo_slug[seo_id]'";
    } else {
        $sql = "SELECT `pageLink` FROM `seo` WHERE `slug` = '$segment'";
    }

    $check = $dbF->getRow($sql);

    if ($dbF->rowCount > 0) {
        $temp = "0";
    }
}

if (isset($temp) && $segment != "" && $segment != "home" && $segment != "index.php" && $segment != "index") {

    if ($temp == "1") {
        $p_link = "/" . $segment;
    } else {
        $p_link = $check['pageLink'];
    }

  // Check for project-{id} URL
if (preg_match('/^project-(\d+)$/', $segment, $matches)) {
    $_GET['news-page'] = $matches[1];

    include __DIR__ . "/header.php";        // ✅ Header add kiya
    echo include __DIR__ . "/projects.php"; // ✅ echo lagaya — return value output hogi
    include __DIR__ . "/footer.php";        // ✅ Footer add kiya

    exit;
}

    $a = explode('-', $p_link, 2);
    $key = $a[0];

    switch ($key) {
        case '/product':
            $_GET['pSlug'] = $a[1];
            include __DIR__ . "/detail.php";
            break;

        case '/pCategory':
        case '/products':
            $_GET['catSlug'] = $a[1];
            include __DIR__ . "/products.php";
            break;

        case '/productDeals':
        case '/dealCategory':
            $_GET['catSlug'] = $a[1];
            include __DIR__ . "/productDeals.php";
            break;

        case '/page':
            $_GET['page'] = $a[1];
            include __DIR__ . "/page.php";
            break;

   case '/blog':
            $_GET['blog'] = $a[1];
            include __DIR__ . "/blog.php";
            break;

        case '/deal':
            $_GET['dealSlug'] = $a[1];
            include __DIR__ . "/dealDetailNew.php";
            break;

        case '/sitemap':
            $_GET['param'] = $a[1];
            $b = explode('-', $a[1]);
            @$_GET['range'] = $b[1];
            include __DIR__ . "/sitemap.php";
            break;
        default:
            $filePath = __DIR__ . "/" . $key . ".php";
            if (file_exists($filePath)) {
                include $filePath;
            } else {
                include __DIR__ . "/404.php";
            }
            break;
    }
}  else {

    include("global.php");
    include("header.php");
    global $webClass;
    global $productClass;

    /**
     * MultiLanguage keys Use where echo;
     * define this class words and where this class will call
     * and define words of file where this class will called
     **/
    global $_e;
    $_w = array();
    $_w['Show all news'] = '';
    $_e = $dbF->hardWordsMulti($_w, currentWebLanguage(), 'Website Index Page');


    
 
   
$box4 = $webClass->getBox('box4');
?>
  
<!-- Hero Section Start -->
<div class="hero bg-section hero-slider">
    <div class="hero-slider-layout">
        <div class="swiper">
            <div class="swiper-wrapper">

<?php
$bannersData = $webClass->web_banners();

// Capture first banner for fixed content
$first       = $bannersData[0] ?? [];
$firstTitle  = htmlspecialchars($first['title']  ?? '');
$firstText   = htmlspecialchars($first['text']   ?? '');
$firstLink   = htmlspecialchars($first['link']   ?? '#');
$firstLayer2 = htmlspecialchars($first['layer2'] ?? '');
$firstLayer3 = htmlspecialchars($first['layer3'] ?? '');
$firstBtnTxt = htmlspecialchars($first['layer1'] ?? 'Explore Services');

foreach ($bannersData as $val) {
    $title  = htmlspecialchars($val['title']  ?? '');
    $image  = htmlspecialchars($val['layer0'] ?? '');
    echo '
    <div class="swiper-slide">
        <div class="hero-slide">
            <!-- Slider Image Start -->
            <div class="hero-slider-image">
                <img src="' . $image . '?ve" alt="' . $title . '">
            </div>
            <!-- Slider Image End -->
        </div>
    </div>
    ';
}
?>

            </div>
            <div class="swiper-pagination"></div>
        </div>

        <!-- Fixed Text Content (Non-Rotating) -->
        <div class="hero-content-fixed">
            <!-- Slider Content Start -->
            <div class="container">
                <div class="row align-items-center">
                    <div class="col-lg-12">
                        <div class="hero-content">
                            <div class="section-title">
                                <h3 class="wow fadeInUp">Welcome to ASE Constructors</h3>
                                <h1 class="text-anime-style-3" data-cursor="-opaque">
                                    <?php echo $firstTitle; ?>
                                </h1>
                                <p class="wow fadeInUp" data-wow-delay="0.25s">
                                    <?php echo $firstText; ?>
                                </p>
                            </div>
                            <div class="hero-content-body wow fadeInUp" data-wow-delay="0.5s">
                                <a href="<?php echo $firstLink; ?>" class="btn-default">
                                    <?php echo $firstBtnTxt; ?>
                                </a>
                                <a href="<?php echo $firstLayer2; ?>" class="btn-default btn-highlighted">
                                    <?php echo $firstLayer3; ?>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Slider Content End -->
        </div>

    </div>
</div>
<!-- Hero Section End -->
<!-- Hero Section End -->

<!-- Hero Section Start -->
<!-- <div class="hero bg-section hero-slider">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-12">
                <div class="hero-content">
                    <div class="section-title">
                        <h3 class="wow fadeInUp">Welcome to ASE Constructors</h3>
                        <h1 class="text-anime-style-3" data-cursor="-opaque">Building Pakistan's Future With Precision &
                            Excellence</h1>
                        <p class="wow fadeInUp" data-wow-delay="0.25s">ASE Constructors (Pvt) Limited — delivering
                            world-class construction, engineering, and infrastructure solutions across Pakistan since
                            2000. Over 100 projects completed nationwide.</p>
                    </div>

                    <div class="hero-content-body wow fadeInUp" data-wow-delay="0.5s">
                        <a href="service.php" class="btn-default">Explore Services</a>
                        <a href="contact.php" class="btn-default btn-highlighted">Get a Quote</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div> -->
<!-- Hero Section End -->

<!-- About Section Start -->
<div class="about-us">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-6">
                <!-- About Us Image Start -->
                <div class="about-image">
                    <div class="cert-showcase">
                        <div class="cert-frame-wrap">
                            <!-- Corner ornaments -->
                            <span class="c-corner tl"></span>
                            <span class="c-corner tr"></span>
                            <span class="c-corner bl"></span>
                            <span class="c-corner br"></span>
                
                            <div class="cert-frame-gold">
                                <div class="cert-frame-inner">
                                    <figure class="reveal">
                                        <img src="<?= $box4['image'] ?>?ve" alt="<?= $box4['heading'] ?>" style="width:100%; display:block; border-radius:2px;">
                                    </figure>
                                </div>
                            </div>
                
                            <!-- Floating experience badge -->
                            <div class="exp-badge">
                                <svg class="badge-ring" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg">
                                    <defs>
                                        <path id="circle-path" d="M 48,48 m -34,0 a 34,34 0 1,1 68,0 a 34,34 0 1,1 -68,0"/>
                                    </defs>
                                    <circle cx="48" cy="48" r="47" fill="none" stroke="#576824" stroke-width="1.5" stroke-dasharray="3 3" opacity="0.4"/>
                                    <text font-size="7.8" font-weight="700" fill="#576824" font-family="sans-serif" letter-spacing="2.6">
                                        <textPath href="#circle-path">SINCE 2000  ✦  ASE CONSTRUCTORS  ✦  </textPath>
                                    </text>
                                </svg>
                                <div class="badge-inner">
                                    <div class="badge-num">25+</div>
                                    <div class="badge-sub">Years<br>Experience</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- About Us Image End -->
            </div>

            <div class="col-lg-6">
                <!-- About Content Start -->
                <div class="about-content">
                    <!-- Section Title Start -->
                    <div class="section-title">
                        <h3 class="wow fadeInUp"><?= $box4['heading'] ?></h3>
                        <h2 class="text-anime-style-3" data-cursor="-opaque"><?= $box4['heading2'] ?></h2>
                        <?= $box4['text'] ?>
                    </div>
                    <!-- Section Title End -->

                    <!-- About Content Body Start -->
                    <!-- <div class="about-content-body wow fadeInUp" data-wow-delay="0.5s">
                        <ul>
                            <li>Over 100 successfully completed projects nationwide</li>
                            <li>Experienced engineers, professionals & skilled workforce</li>
                            <li>State-of-the-art equipment & modern construction methods</li>
                        </ul>
                    </div> -->
                    <!-- About Content Body End -->

                    <!-- About Content Footer Start -->
                    <div class="about-content-footer wow fadeInUp" data-wow-delay="0.75s">
                        <div class="about-footer-btn">
                            <a href="<?= $box4['link'] ?>" class="btn-default"><?= $box4['linkText'] ?></a>
                        </div>
                        <div class="about-contact-support">
                            <div class="icon-box">
                                <img src="<?php echo WEB_URL ?>/webImages/icon-phone.svg?ve" alt="">
                            </div>
                            <div class="about-support-content">
                                <p><?php $dbF->hardWords('Call us anytime');?></p>
                                <h3><?php $dbF->hardWords('+92 21 111 009 696');?></h3>
                            </div>
                        </div>
                    </div>
                    <!-- About Content Footer End -->
                </div>
            </div>
        </div>
    </div>
</div>
<!-- About Section End -->
<?php 

$box5 = $webClass->getBox('box5');



 ?>
<!-- Our Service Section Start -->
<div class="our-service">
    <div class="light-bg-section">
        <div class="container-fluid">
            <div class="row section-row">
                <div class="col-lg-12">
                    <!-- Section Title Start -->
                    <div class="section-title">
                        <h3 class="wow fadeInUp"><?= $box5['heading'] ?></h3>
                        <h2 class="text-anime-style-3" data-cursor="-opaque"><?= $box5['heading2'] ?></h2>
                        <p class="wow fadeInUp" data-wow-delay="0.25s"><?= $box5['text'] ?></p>
                    </div>
                    <!-- Section Title End -->
                </div>
            </div>

            <div class="row">









 <?php
$servicesData = $webClass->web_services();
$services = '';
$services_count = 1;

foreach ($servicesData as $val) {
    $title = htmlspecialchars($val['title'] ?? '');
    $text  = htmlspecialchars($val['text'] ?? '');
    $link  = htmlspecialchars($val['link'] ?? WEB_URL.'page-services');
    $image = htmlspecialchars($val['layer0'] ?? 'default.jpg');

    $services .= '
    <div class="col-lg-4 col-md-6">
        <!-- Service Item Start -->
        <div class="service-item wow fadeInUp" data-wow-delay="0.'.$services_count.'s">
            
            <!-- Service Image Start -->
            <div class="service-image" data-cursor-text="View">
                <a href="'.$link.'">
                    <figure>
                        <img src="'.WEB_URL.'/images/'.$image.'?ve" alt="'.$title.'">
                    </figure>
                </a>
            </div>
            <!-- Service Image End -->

            <!-- Service Body Start -->
            <div class="service-body">
                
                <!-- Service Body Title Start -->
                <div class="service-body-title">
                    <h3>'.$title.'</h3>
                </div>
                <!-- Service Body Title End -->

                <!-- Service Content Start -->
                <div class="service-content">
                    <p>'.$text.'</p>
                    <div class="service-content-footer">
                        <a href="'.$link.'" class="readmore-btn">view more</a>
                    </div>
                </div>
                <!-- Service Content End -->

            </div>
            <!-- Service Body End -->

        </div>
        <!-- Service Item End -->
    </div>
    ';

    $services_count++;
}

echo $services;
?>
         


            </div>
        </div>
    </div>
</div>
<!-- Our Service Section End -->
<?php 


$box6 = $webClass->getBox('box6');



 ?>
<!-- Why Choose Us Section Start -->
<div class="why-choose-us">
    <div class="container">
        <div class="row section-row">
            <div class="col-lg-12">
                <!-- Section Title Start -->
                <div class="section-title">
                    <h3 class="wow fadeInUp"><?= $box6['heading'] ?></h3>
                    <h2 class="text-anime-style-3" data-cursor="-opaque"><?= $box6['heading2'] ?></h2>
                    <p class="wow fadeInUp" data-wow-delay="0.25s"><?= $box6['text'] ?></p>
                </div>
                <!-- Section Title End -->
            </div>
        </div>

        <div class="row">
            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Item Start -->
                <div class="why-choose-item wow fadeInUp" data-wow-delay="0.25s">
                    <div class="icon-box">
                        <img src="<?php echo WEB_URL ?>/webImages/icon-why-choose-1.svg?ve" alt="">
                    </div>
                    <div class="why-choose-content">
                        <h3><?php $dbF->hardWords('25+ Years of Expertise');?></h3>
                        <p><?php $dbF->hardWords('Decades of field experience in construction and engineering projects across Pakistan, established since 2000.');?></p>
                    </div>
                    <div class="why-choose-counter">
                        <h3><span class="counter">100</span>+</h3>
                        <p><?php $dbF->hardWords('projects completed');?></p>
                    </div>
                </div>
                <!-- Why Choose Item End -->
            </div>

            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Image Start -->
                <div class="why-choose-image">
                    <figure class="image-anime reveal">
                        <img src="<?php echo WEB_URL ?>/webImages/why-choose-img-1.jpg?ve" alt="">
                    </figure>
                </div>
                <!-- Why Choose Image End -->
            </div>

            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Item Start -->
                <div class="why-choose-item wow fadeInUp" data-wow-delay="0.25s">
                    <div class="icon-box">
                        <img src="<?php echo WEB_URL ?>/webImages/icon-why-choose-2.svg?ve" alt="">
                    </div>
                    <div class="why-choose-content">
                        <h3><?php $dbF->hardWords('Quality Assurance');?></h3>
                        <p><?php $dbF->hardWords('Strict quality control and use of certified materials on every project we undertake, ensuring lasting results.');?></p>
                    </div>
                    <div class="why-choose-counter">
                        <h3><span class="counter">25</span>+</h3>
                        <p><?php $dbF->hardWords('years experience');?></p>
                    </div>
                </div>
                <!-- Why Choose Item End -->
            </div>

            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Image Start -->
                <div class="why-choose-image">
                    <figure class="image-anime reveal">
                        <img src="<?php echo WEB_URL ?>/webImages/why-choose-img-2.jpg?ve" alt="">
                    </figure>
                </div>
                <!-- Why Choose Image End -->
            </div>

            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Item Start -->
                <div class="why-choose-item wow fadeInUp" data-wow-delay="0.25s">
                    <div class="icon-box">
                        <img src="<?php echo WEB_URL ?>/webImages/icon-why-choose-3.svg?ve" alt="">
                    </div>
                    <div class="why-choose-content">
                        <h3><?php $dbF->hardWords('Expert Team & Modern Equipment');?></h3>
                        <p><?php $dbF->hardWords('Highly qualified engineers, architects, and skilled workers with a fully owned inventory of modern tools and plant equipment.');?></p>
                    </div>
                    <div class="why-choose-counter">
                        <h3><span class="counter">6</span></h3>
                        <p><?php $dbF->hardWords('core services');?></p>
                    </div>
                </div>
                <!-- Why Choose Item End -->
            </div>

            <div class="col-lg-4 col-md-6">
                <!-- Why Choose Image Start -->
                <div class="why-choose-image">
                    <figure class="image-anime reveal">
                        <img src="<?php echo WEB_URL ?>/webImages/why-choose-img-3.jpg?ve" alt="">
                    </figure>
                </div>
                <!-- Why Choose Image End -->
            </div>
        </div>
    </div>
</div>
<!-- Why Choose Us Section End -->


<?php 


$box7 = $webClass->getBox('box7');
$box8 = $webClass->getBox('box8');
$box9 = $webClass->getBox('box9');



 ?>




<!-- Our Projects Section Start -->
<div class="our-projects">
    <div class="light-bg-section">
        <div class="container-fluid">
            <div class="row section-row">
                <div class="col-lg-12">
                    <!-- Section Title Start -->
                    <div class="section-title">
                        <h3 class="wow fadeInUp"><?= $box7['heading'] ?></h3>
                        <h2 class="text-anime-style-3" data-cursor="-opaque"><?= $box7['heading2'] ?></h2>
                        <p class="wow fadeInUp" data-wow-delay="0.25s"><?= $box7['text'] ?></p>
                    </div>
                    <!-- Section Title End -->
                </div>
            </div>

            <!-- <div class="row"> -->
            <!-- <div class="col-lg-12"> -->
            <!-- Project Slider Start -->
            <div class="project-slider">
                <div class="swiper">
                    <div class="swiper-wrapper" data-cursor-text="Drag"><?php
echo $webClass->productsAll();
?></div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
            <!-- </div> -->
            <!-- </div> -->

            <div class="row">
                <div class="col-lg-12">
                    <!-- Services Footer Btn Start -->
                    <div class="project-footer-btn wow fadeInUp" data-wow-delay="1.25s">



                                            <a href="<?= $box7['link'] ?>" class="btn-default"><?= $box7['linkText'] ?></a>



                    </div>
                    <!-- Services Footer Btn End -->
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Our Projects Section End -->

<!-- Cta Box Section Start -->
<div class="cta-box">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-7 col-md-8">
                <!-- Section Title Start -->
                <div class="section-title">
                    <h2 class="text-anime-style-3" data-cursor="-opaque"><?= $box8['heading'] ?></h2>
                    <p class="wow fadeInUp"><?= $box8['heading2'] ?></p>
                </div>
                <!-- Section Title End -->

                <!-- Section Btn Start -->
                <div class="section-btn wow fadeInUp" data-wow-delay="0.25s">
                    <a href="<?= $box8['link'] ?>" class="btn-default btn-large"><?= $box8['linkText'] ?></a>
                </div>
                <!-- Section Btn End -->
            </div>

            <div class="col-lg-5 col-md-4">
                <!-- Cta Box Image Start -->
                <div class="cta-box-image">
                    <figure>
                        <img src="<?php echo WEB_URL ?>/webImages/cta-box-img.png?ve" alt="">
                    </figure>
                </div>
                <!-- Cta Box Image End -->
            </div>
        </div>
    </div>
</div>
<!-- Cta Box Section End -->

<!-- Our Blog Section Start -->
<div class="our-blog">
    <div class="container">
        <div class="row section-row">
            <div class="col-lg-12">
                <!-- Section Title Start -->
                <div class="section-title">
                    <h3 class="wow fadeInUp"><?php $dbF->hardWords('news & updates');?></h3>
                    <h2 class="text-anime-style-3" data-cursor="-opaque"><?php $dbF->hardWords('Construction Insights & Industry News');?></h2>
                    <p class="wow fadeInUp" data-wow-delay="0.25s"><?php $dbF->hardWords('Stay updated with the latest trends, best practices, and news from the construction and engineering industry in Pakistan.');?></p>
                </div>
                <!-- Section Title End -->
            </div>
        </div>

        <div class="row">



          <?php
echo $webClass->newsAll();
?>
 
 
        </div>
    </div>
</div>
<!-- Our Blog End -->

<!-- Contact Us Section Start -->
<div class="contact-us">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-4 col-md-5">
                <!-- Contact Sidebar Start -->
                <div class="contact-sidebar wow fadeInUp" data-wow-delay="0.25s">
                    <!-- Contact Info Start -->
                    <div class="contact-info">
                        <div class="icon-box">
                            <img src="<?php echo WEB_URL ?>/webImages/icon-phone.svg?ve" alt="">
                        </div>
                        <div class="contact-info-content">
                            <p><?php $dbF->hardWords('Call our office');?></p>
                            <h3><?php $dbF->hardWords('+92-21-111009696');?></h3>
                        </div>
                    </div>
                    <!-- Contact Info End -->

                    <!-- Contact Info Start -->
                    <div class="contact-info">
                        <div class="icon-box">
                            <img src="<?php echo WEB_URL ?>/webImages/icon-mail.svg?ve" alt="">
                        </div>
                        <div class="contact-info-content">
                            <p><?php $dbF->hardWords('Email us');?></p>
                            <h3><?php $dbF->hardWords('info@asenterprises.net.pk');?></h3>
                        </div>
                    </div>
                    <!-- Contact Info End -->

                    <!-- Contact Info Image Start -->
                    <div class="contact-info-image">
                        <figure>
                            <img src="<?php echo WEB_URL ?>/webImages/contact-info-img.png?ve" alt="">
                        </figure>
                    </div>
                    <!-- Contact Info Image End -->
                </div>
                <!-- Contact Sidebar End -->
            </div>

            <div class="col-lg-8 col-md-7">
                <!-- Contact Form start -->
                <div class="contact-form wow fadeInUp" data-wow-delay="0.25s">
                    <!-- Section Title Start -->
                    <div class="section-title">
                        <h3 class="wow fadeInUp"><?php $dbF->hardWords('contact us');?></h3>
                        <h2 class="text-anime-style-3" data-cursor="-opaque"><?php $dbF->hardWords('Get in Touch With ASE');?></h2>
                    </div>
                    <!-- Section Title End -->

                    <form id="contactForm" action="#" method="POST" data-toggle="validator">
                        <div class="row">
                            <div class="form-group col-md-6 mb-4">
                                <input type="text" name="name" class="form-control" id="name"
                                    placeholder="<?php $dbF->hardWords('Enter Your name');?>" required="">
                                <div class="help-block with-errors"></div>
                            </div>

                            <div class="form-group col-md-6 mb-4">
                                <input type="email" name="email" class="form-control" id="email"
                                    placeholder="<?php $dbF->hardWords('Enter Your email');?>" required="">
                                <div class="help-block with-errors"></div>
                            </div>

                            <div class="form-group col-md-6 mb-4">
                                <input type="text" name="phone" class="form-control" id="phone"
                                    placeholder="<?php $dbF->hardWords('Phone number');?>" required="">
                                <div class="help-block with-errors"></div>
                            </div>

                            <div class="form-group col-md-6 mb-4">
                                <input type="text" name="website" class="form-control" id="website"
                                    placeholder="<?php $dbF->hardWords('Subject');?>" required="">
                                <div class="help-block with-errors"></div>
                            </div>

                            <div class="form-group col-md-12 mb-5">
                                <textarea name="msg" class="form-control" id="msg" rows="3" placeholder="<?php $dbF->hardWords('Message');?>"
                                    required=""></textarea>
                                <div class="help-block with-errors"></div>
                            </div>

                            <div class="col-md-12">
                                <button type="submit" class="btn-default"><?php $dbF->hardWords('Submit');?></button>
                                <div id="msgSubmit" class="h3 hidden"></div>
                            </div>
                        </div>
                    </form>
                </div>
                <!-- Contact Form end -->
            </div>
        </div>
    </div>
</div>
<!-- Contact Us Section End -->

 
<?php
    include_once 'footer.php';
}

?>