<footer class="main-footer">
    <div class="container">
        <div class="footer-sec">
            <div class="row">
                <div class="col-lg-3 col-md-6 col-sm-6">
                    <div class="footer-about">
                        <img src="assets/images/logo.png" width="173" height="54" alt="<?php echo $name; ?>">
                        <!-- <h3>About us</h3> -->
                        <p>We are an expert ghostwriting team that takes your imagination, adds a thing or two, and
                            turns it into a successful book.
                        </p>
                        <div class="social-icon">
                            <ul>
                                <li><a class="facebook" href="<?php echo $facebook; ?>"><i
                                            class="fab fa-facebook-f"></i><span></span></a></li>
                                <li><a class="twitter" href="<?php echo $facebook; ?>"><i
                                            class="fab fa-twitter"></i><span></span></a></li>
                                <li><a class="linkedin" href="<?php echo $linkedin; ?>"><i
                                            class="fab fa-linkedin-in"></i><span></span></a></li>
                                <li><a class="linkedin" href="<?php echo $linkedin; ?>"><i
                                            class="fab fa-instagram"></i><span></span></a>
                                </li>
                                <li><a class="pinterest" href="<?php echo $pinterest; ?>"><i class="fa fa-pinterest"
                                            aria-hidden="true"></i><span></span></a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-12 col-sm-12">
                    <div class="footer-links">
                        <h3>Services</h3>
                        <div class="footer-links">
                            <ul>
                                <li class="first"><i class="fas fa-caret-right"></i><a href="javascript:;">Ghost Writing
                                        Services</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Biography
                                        Writing</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">AutoBiography Writing</a>
                                </li>
                                <li class="last"><i class="fas fa-caret-right"></i><a href="javascript:;">Fiction
                                        Writing</a>
                                </li>
                                <li class="first"><i class="fas fa-caret-right"></i><a href="javascript:;">Non Fiction
                                        Writing</a></li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Memoir
                                        Writing </a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Informative
                                        Writing</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Seo Content Writing
                                        Services</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Wikipedia Writing
                                        Services</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="javascript:;">Children's Book Editor
                                        Services</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-12 col-sm-12">
                    <div class="footer-links">
                        <h3>Useful Links</h3>
                        <div class="footer-links">
                            <ul>
                                <li class="first"><i class="fas fa-caret-right"></i><a href="#about-us">About</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a href="#reviews-sec">Reviews</a>
                                </li>
                                <li><i class="fas fa-caret-right"></i><a
                                        href="https://acdwriters.com/privacy-policy.php">Privacy Policy</a>
                                </li>
                                <li class="last"><i class="fas fa-caret-right"></i><a
                                        href="https://acdwriters.com/terms-conditions.php">Terms & Conditions</a>
                                </li>
                                <li class="first"><i class="fas fa-caret-right"></i><a href="#contact-us">Contact Us</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-3 col-md-6 col-sm-6 pl-lg-5">
                    <h3>Contact</h3>
                    <div class="footer-links">
                        <ul>
                            <li><i class="fas fa-envelope"></i><a href="mailto:<?php echo $email; ?>">
                                    <?php echo $email; ?>
                                </a></li>
                            <li><i class="fas fa-phone"></i><a
                                    href="tel:<?php echo $phone; ?>"><?php echo $phone; ?></a>
                            </li>
                            <li><i class="fas fa-location-arrow"></i><a href="javascript:;"><?php echo $address; ?></a>
                            </li>
                            <!--<li><i class="fas fa-location-arrow"></i><a href="javascript:;">5301 Alpha Rd Ste 80-21 Dallas TX 75240</a>-->
                            <!--</li>-->
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="main-copyright">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12">
                    <div class="text-center copyright-text">
                        <p>
                            © 2025, <?php echo $name; ?>, All right reserved.
                        </p>
                    </div>
                </div>
                <!--<div class="col-lg-4 col-md-12 col-sm-12">-->
                <!--    <div class="terms-text">-->
                <!--        <ul>-->
                <!--            <li class="first"><a href="terms-conditions">Terms &amp; Condition</a></li>-->
                <!--            <li class="last"><a href="privacy-policy">Privacy Policy</a></li>-->
                <!--        </ul>-->
                <!--    </div>-->
                <!--</div>-->
            </div>
        </div>
    </div>
</footer>
</main>
<style>
    /* Modal */
    .modal {
        background: rgba(0, 0, 0, .6);
    }

    .modal {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: none;
        overflow: hidden;
        outline: 0;
    }

    .balti_popup {
        width: 450px;
        border-radius: 23px;
        padding: 30px;
        overflow: visible;
        border-bottom: #fb9f3d 5px solid;
        background: white;
        font-family: 'Poppins', sans-serif !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
    }

    .modal {
        background: rgba(0, 0, 0, 0.6);
        z-index: 9999999 !important;
    }

    .balti_popup h2 {
        color: rgb(2, 14, 60);
        font-weight: 800;
        font-size: 30px !important;
        padding-left: 15px;
        border-left: #fb9f3d 6px solid;
        margin-bottom: 12px;
        line-height: 35px;
    }

    .balti_popup h2+p {
        line-height: 19px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .balti_popup ul {
        margin: 0;
        padding: 0;
    }

    .balti_popup ul li {
        text-align: left;
        position: relative;
        width: 100%;
        margin: 8px 0px;
        display: inline-block;
    }

    .balti_popup ul li i {
        position: absolute;
        top: 15px;
        left: 14px;
        color: #fb9f3d;
    }

    .balti_popup ul li input[type="text"],
    .balti_popup ul li input[type="email"],
    .balti_popup ul li input[type="number"],
    .balti_popup ul li textarea {
        background: #ffffff;
        border: #dedede 2px solid;
        padding: 10px 10px 10px 34px;
        width: 100%;
        border-radius: 6px;
        font-size: 14px;
        color: #000;
        box-shadow: none !important;
        outline: none 0px !important;
    }

    .balti_popup ul li textarea {
        height: 161px;
    }

    .balti_popup ul li input:focus,
    .balti_popup ul li textarea:focus {
        border: 2px solid #fb9f3d !important;
    }

    .balti_popup .pd-right-0 {
        padding-right: 0px !important;
    }

    .balti_popup ul li input[type="submit"] {
        background-image: -moz-linear-gradient(90deg, rgb(252, 125, 89) 0%, #fb9f3d 100%);
        background-image: -webkit-linear-gradient(90deg, rgb(252, 125, 89) 0%, #fb9f3d 100%);
        background-image: -ms-linear-gradient(90deg, rgb(252, 125, 89) 0%, #fb9f3d 100%);
        color: #fff;
        font-size: 18px;
        border: 2px solid #fb9f3d;
        text-transform: uppercase;
        font-weight: 600;
        padding: 9px 10px;
        letter-spacing: 1px;
        outline: 0px none;
        border-radius: 50px;
        width: 195px;
        margin: 0 auto;
        text-align: center;
        cursor: pointer;
        display: block;
        width: 100%;
        transition: .1s linear;
    }

    .balti_popup ul li input[type="submit"]:hover {
        background: white;
        border: 2px solid #fb9f3d;
        color: #fb9f3d;
    }

    .balti_popup .fancybox-close-small {
        position: absolute;
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 0;
        outline: none;
        background: transparent;
        z-index: 10;
        outline: none;
        cursor: pointer;
        opacity: .9;
    }

    .balti_popup .fancybox-close-small {
        border: #fb9f3d 3px solid;
        background: #fff;
        border-radius: 72px;
        text-align: center;
        box-shadow: #000 0 0 10px;
        right: -14px;
        top: -13px;
        overflow: visible;
        outline: none !important;
    }

    .balti_popup .fancybox-close-small:hover {
        background-color: #fb9f3d;
        z-index: 11;
    }

    .balti_popup .fancybox-close-small:after {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        color: #fb9f3d;
        font-weight: 300;
        text-align: center;
        border-radius: 50%;
        border-width: 0;
        transition: background .2s;
        box-sizing: border-box;
        z-index: 2;
        content: "x";
        color: #fb9f3d;
        font-size: 25px;
        right: 4px;
        transition: .1s linear;
    }

    .balti_popup .fancybox-close-small:hover:after {
        color: white !important;
    }

    .balti_popup button:focus {
        outline: 1px dotted;
        outline: 5px auto -webkit-focus-ring-color;
    }

    @media screen and (max-width: 922px) {
        .balti_popup {
            width: 55% !important;
        }
    }

    @media screen and (max-width: 767px) {
        .balti_popup {
            width: 85% !important;
            padding: 20px;
        }

        .balti_popup .pd-right-0 {
            padding-right: 15px !important;
        }

        .balti_popup ul li textarea {
            height: 85px;
        }

        .balti_popup h2 {
            font-size: 24px;
        }
    }

    .modal-backdrop {
        display: none !important;
    }
</style>

<div class="modal" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle"
    aria-hidden="true" style="display: block;">
    <div style="display: inline-block;" class="balti_popup" id="balti_popup">
        <h2>We are here to help!</h2>
        <p>Sign up Now To Avail Amazing Discounts</p>
        <form action="../sendmail.php" method="post">
            <div class="row">
                <div class="col-md-12">
                    <ul>
                        <li>
                            <i class="fa fa-user" aria-hidden="true"></i>
                            <input type="text" class="required" placeholder="Full Name *" name="full_name"
                                required="required">
                        </li>
                    </ul>
                </div>
                <div class="col-md-6 pd-right-0">
                    <ul>
                        <li>
                            <i class="fa fa-envelope" aria-hidden="true"></i>
                            <input type="email" class="required email" placeholder="Email Address *" name="email"
                                required="required">
                        </li>
                    </ul>
                </div>
                <div class="col-md-6">
                    <ul>
                        <li>
                            <i class="fa fa-phone" aria-hidden="true"></i>
                            <input type="text" class="required number phoneNum" placeholder="Phone No. *" name="phone"
                                required="required">
                        </li>
                    </ul>
                </div>
                <div class="col-md-12">
                    <ul>
                        <li>
                            <i class="fa fa-paper-plane" aria-hidden="true"></i>
                            <textarea name="message" class="required" required="required"
                                placeholder="To help us understand better enter a brief description of your project."></textarea>
                        </li>
                    </ul>
                </div>

                <div class="col-md-12">
                    <label class="chota_fnt"><input type="checkbox" name="bn_emailPromotional" required="" checked="">
                        Please CHECK THE BOX to COMMUNICATE VIA SMS OR EMAIL (
                        <a href="https://acdwriters.com/privacy-policy.php">PRIVACY POLICY </a>
                        &amp; <a href="https://acdwriters.com/terms-conditions.php">TERM &amp;
                            CONDITIONS</a> )
                        - Carrier charges may apply for SMS. Reply STOP or UNSUBSCRIBE to STOP to unsbscribe
                        anytime.
                    </label>
                </div>



                <div class="col-md-12">
                    <ul>
                        <li>
                            <input type="submit" name="submit" value="Submit">
                            <!--hidden fields-->
                            <input type="hidden" name="lead_source"
                                value="<?= $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; ?>">
                            <input type="hidden" name="brand" value="<?= $_SERVER['SERVER_NAME']; ?>">
                            <input type="hidden" name="ip" value="<?php echo $_SERVER["REMOTE_ADDR"]; ?>">
                            <!-- extra  -->
                            <input type="text" name="msclkid" hidden
                                value="<?php echo isset($_SESSION['msclkid']) ? $_SESSION['msclkid'] : ''; ?>">
                            <input type="text" name="gclid" hidden
                                value="<?php echo isset($_SESSION['gclid']) ? $_SESSION['gclid'] : ''; ?>">
                            <!--hidden fields-->
                        </li>
                    </ul>
                </div>
            </div>
        </form>
        <button data-fancybox-close="" class="fancybox-close-small close"></button>
    </div>
</div>
<script data-cfasync="false" src="cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
<script src="assets/js/plugin.js"></script>
<script src="assets/js/custom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js"
    integrity="sha512-XtmMtDEcNz2j7ekrtHvOVR4iwwaD6o/FUJe6+Zq+HgcCsk3kj4uSQQR8weQ2QVj1o0Pk6PwYLohm206ZzNfubg=="
    crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/1.1.1/typed.min.js"></script>

<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/jquery.inputmask.bundle.js" type="text/javascript"></script>
<script>
    $(".phoneNum").inputmask({
        "mask": "+1(999) 999-9999"
    }).on("input", function () {
        var minLength = 11; // minimum length of the formatted phone number, including the country code
        var phoneNumber = $(this).val().replace(/\D/g, ''); // remove non-digit characters from the input value
        if (phoneNumber.length < minLength) {
            this.setCustomValidity("Phone number must have a minimum length of " + minLength + " digits");
        } else {
            this.setCustomValidity("");
        }
    });
</script>
<script>
    $(document).ready(function () {
        $('.portfolio-slider').not('.slick-initialized').slick({
            slidesToShow: 4,
            arrows: true,
            dots: false,
            infinite: true,
            autoplay: true,
            autoplaySpeed: 500,
            speed: 500,
            slidesToScroll: 1,
            responsive: [{
                breakpoint: 767,
                settings: {
                    slidesToShow: 1,
                    slidesToScroll: 1,
                    arrows: false,
                    dots: false,
                }
            }]

        });
    });
</script>
<style>
    .customalert {
        position: fixed;
        padding: 15px 20px;
        min-width: 180px;
        z-index: 99999;
        left: -35px;
        top: 50%;
        transform: rotate(270deg) translateY(-50%);
        text-align: center;
        background: rgba(242, 222, 222, 0.5)
    }
</style>
<script>
    $(".timersss").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
</script>
<script>
    $(".close").click(function () {
        $(".modal").hide()
    })
    $(".popup-btn").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
    $(".timer").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
    $(".myBtn").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
    $(".open-popup").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
    $(".lp-popp").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })
    $(".signUpOpen").click(function () {
        // alert("Asdasdsd")
        $(".modal").show()
    })

    setTimeout(function () {
        $("#entry-popup").show()
    }, 2000);
</script>
<script type="text/javascript">
    $(".close").click(function () {
        $(".modal").hide()
    })
    $(".popup-btn").click(function () {
        $(".modal").show()
    })
    $(".black_friday").click(function () {
        $(".modal").show()
    })
    setTimeout(function () {
        $(".modal").show()
    }, 4000);
</script>

</body>


</html>