<div class="ttm-page-title-row">
    <div class="container">
        <div class="row">
            <div class="col-md-12"> 
                <div class="title-box">
                    <div class="page-title-heading">
                        <h1 class="title"> each Out To Us</h1>
                    </div>
                    <div class="breadcrumb-wrapper">
                        <span>
                            <a title="Homepage" href="<?php echo site_url() ?>"><i class="fa fa-home"></i>&nbsp;&nbsp;Home</a>
                        </span>
                        <span class="ttm-bread-sep">&nbsp; | &nbsp;</span>
                        <span> Reach Out To Us </span>
                    </div>  
                </div>
            </div>
        </div> 
    </div>                    
</div>

<div class="container pt100 pb100">
    <div class="row">
        <div class="col-md-4 col-md-offset-1">
            <h3 class="widget-title"> Contact Details</h3>
            <div class="contact-info">
                <?php if (config('address')): ?>  <div class="contact-m"><b><i class="fa fa-map-marker"></i> Address:</b> <?php echo config('address') ?></div><?php endif ?>
                <?php if (config('webmaster_email')): ?><div class="contact-m"><b><i class="fa fa-envelope"></i> Mail:</b> <?php echo config('webmaster_email') ?></div>  <?php endif ?>
                <?php if (config('phone')): ?><div class="contact-m"><b><i class="fa fa-phone"></i> Phone:</b> <?php echo config('phone') ?></div>  <?php endif ?>
                <?php if (config('whatsapp')): ?><div class="contact-m"><b><i class="fa fa-whatsapp"></i> Whatsapp:</b> <?php echo config('whatsapp') ?></div>  <?php endif ?>
                <?php if (config('skype')): ?><div class="contact-m"><b><i class="fa fa-skype"></i> Skype:</b> <?php echo config('skype') ?></div>  <?php endif ?>
            </div>
        </div>
        <div class="col-md-6">            
            <h3 class="widget-title"> Send Message</h3>
            <form method="post">
                <?php if ($success) : ?>
                    <div class="alert alert-success">
                        <i class="fa fa-check-circle" aria-hidden="true" style="margin-left: 7px;"></i>  
                        Your Message Is Sent Successfully
                    </div>
                <?php endif ?>
                <?php if (validation_errors()) : ?>
                    <div class="alert alert-danger">
                        <i class="fa fa-times-circle" aria-hidden="true" style="margin-left: 7px;"></i> 
                        <?php echo validation_errors() ?>
                    </div>
                <?php endif ?>
                <input name="name" id="name" type="text" placeholder="Name:" required autocomplete="off">
                <input name="email" id="email" type="email" placeholder="Email:" required autocomplete="off">
                <textarea name="message" id="message" placeholder="Message:" required rows="4"></textarea>
                <input type="submit" id="submit" value="send" class="button outline">
            </form>

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