<?php
include "header_process.php";
?>
<!DOCTYPE html>
<html lang="zxx">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
    <link rel="stylesheet" href="assets/css/scrollCue.css">
    <link rel="stylesheet" href="assets/css/tabler-icons.min.css">
    <link rel="stylesheet" href="assets/css/britti-sans-trial.css">
    <link rel="stylesheet" href="assets/css/style.css">

     <?php if (!empty($favicon)): ?>
      <link rel="icon" href="<?= htmlspecialchars($favicon); ?>" type="image/<?= pathinfo($favicon, PATHINFO_EXTENSION); ?>">
    <?php endif; ?>
    <title><?= htmlspecialchars($bank_name) ?> - Contact Us</title>

    <style>
        :root {
            --primary-color: #004d9b !important;
            --secondary-color: #0d3990 !important;
            --dark-bg-color: #001a3a !important;
            --accent-color: #ffffff !important;
            --form-bg-color: #002f6c !important;
            --light-bg: #f5f7fa !important;
        }

        /* ===== GLOBAL OVERRIDES WITH !important ===== */

        .bg-dark-div, .navbar, .footer-area, .pay-support-area, .countries-area, .page-banner-area {
            background-color: #001a3a !important;
        }

        .default-btn {
            background-color: #004d9b !important;
            border-color: #004d9b !important;
            color: #ffffff !important;
            border-radius: 50px !important;
            padding: 14px 32px !important;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
        }

        .default-btn:hover {
            background-color: #0d3990 !important;
            border-color: #0d3990 !important;
            color: #ffffff !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 15px rgba(0, 77, 155, 0.4) !important;
        }

        .default-btn.active {
            background-color: #ffffff !important;
            border-color: #ffffff !important;
            color: #004d9b !important;
            font-weight: 700 !important;
        }

        .default-btn.active:hover {
            background-color: #e8f0fe !important;
            border-color: #e8f0fe !important;
            color: #0d3990 !important;
        }

        /* Contact Area - Light Theme */
        .contact-area {
            background-color: #f5f7fa !important;
        }

        /* Contact Info Cards */
        .contact-info-item {
            background-color: #ffffff !important;
            border: 1px solid #e8edf3 !important;
            transition: all 0.3s ease !important;
        }

        .contact-info-item:hover {
            border-color: #004d9b !important;
            transform: translateY(-5px) !important;
            box-shadow: 0 10px 30px rgba(0, 77, 155, 0.1) !important;
        }

        .contact-info-item .icon {
            background: linear-gradient(135deg, #004d9b, #0d3990) !important;
            color: #ffffff !important;
        }

        .contact-info-item .icon i {
            color: #ffffff !important;
        }

        .contact-info-item h3 {
            color: #1a1a2e !important;
        }

        .contact-info-item p {
            color: #5a6a7e !important;
        }

        .contact-info-item a {
            color: #004d9b !important;
        }

        .contact-info-item a:hover {
            color: #0d3990 !important;
        }

        /* Contact Form */
        .contact-form-wrap {
            background-color: #ffffff !important;
            padding: 40px !important;
            border-radius: 16px !important;
            border: 1px solid #e8edf3 !important;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
        }

        .contact-form-wrap h3 {
            color: #1a1a2e !important;
            font-weight: 700 !important;
        }

        .contact-form-wrap p {
            color: #5a6a7e !important;
        }

        .form-group .form-control {
            background-color: #f5f7fa !important;
            border: 1px solid #d0dbe8 !important;
            color: #1a1a2e !important;
            border-radius: 10px !important;
            padding: 12px 16px !important;
            transition: border-color 0.3s ease !important;
        }

        .form-group .form-control:focus {
            border-color: #004d9b !important;
            box-shadow: 0 0 0 3px rgba(0, 77, 155, 0.1) !important;
        }

        .form-group .form-control::placeholder {
            color: #9aa8b8 !important;
        }

        .form-group .form-select {
            background-color: #f5f7fa !important;
            border: 1px solid #d0dbe8 !important;
            color: #1a1a2e !important;
            border-radius: 10px !important;
            padding: 12px 16px !important;
        }

        .form-group label {
            color: #1a1a2e !important;
            margin-bottom: 8px !important;
            font-weight: 500 !important;
        }

        /* Page Banner */
        .page-banner-area {
            background: linear-gradient(135deg, #001a3a 0%, #0d3990 100%) !important;
        }

        .page-banner-content h2 {
            color: #ffffff !important;
            font-size: 2.8rem !important;
            font-weight: 800 !important;
        }

        .page-banner-content ul li {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .page-banner-content ul li.active {
            color: #ffffff !important;
            font-weight: 600 !important;
        }

        .page-banner-content ul li a {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .page-banner-content ul li a:hover {
            color: #ffffff !important;
        }

        /* Navbar */
        .navbar .nav-link {
            color: rgba(255, 255, 255, 0.85) !important;
        }

        .nav-link.active, .nav-link:hover {
            color: #ffffff !important;
        }

        /* Mobile Menu */
        .mobile-navbar .offcanvas-body {
            background-color: #ffffff !important;
        }

        .mobile-menu-list.active a {
            color: #004d9b !important;
        }

        /* Map */
        .map-iframe {
            border-radius: 16px !important;
            overflow: hidden !important;
            border: 1px solid #e8edf3 !important;
        }

        .map-iframe iframe {
            filter: none !important;
        }

        /* Footer */
        .footer-area {
            background-color: #001a3a !important;
        }

        .footer-single-widget h3 {
            color: #ffffff !important;
        }

        .footer-single-widget p,
        .footer-single-widget a {
            color: rgba(255, 255, 255, 0.75) !important;
        }

        .footer-single-widget a:hover {
            color: #ffffff !important;
        }

        /* Back to top */
        #backtotop {
            background-color: #004d9b !important;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 991px) {
            .page-banner-content h2 {
                font-size: 2.2rem !important;
            }
            .contact-form-wrap {
                padding: 30px !important;
            }
        }

        @media (max-width: 767px) {
            .page-banner-content h2 {
                font-size: 1.8rem !important;
            }
            .contact-form-wrap {
                padding: 24px 20px !important;
            }
            .contact-info-item {
                padding: 20px !important;
            }
            .map-iframe {
                height: 300px !important;
            }
        }

        @media (max-width: 575px) {
            .page-banner-content h2 {
                font-size: 1.5rem !important;
            }
            .contact-form-wrap {
                padding: 20px 16px !important;
            }
        }
    </style>
</head>

<body>
    <div id="preloader">
        <div class="preloader">
            <img src="<?= htmlspecialchars($brand_logo) ?>" alt="preloader">
        </div>
    </div>

    <!-- ===== NAVBAR ===== -->
    <nav class="navbar navbar-expand-lg bg-dark-div style-two position-sticky top-0" id="navbar">
        <div class="container mw-1690">
            <div class="d-flex align-items-center">
                <a class="navbar-brand me-100" href="index.php">
                    <img src="<?= htmlspecialchars($brand_logo) ?>" width="100" height="100" class="main-logo" alt="logo">
                    <img src="<?= htmlspecialchars($brand_logo) ?>" width="100" height="100" class="white-logo d-none" alt="white-logo">
                </a>
            </div>

            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="index.php">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="about-us.php">About Us</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="services.php">Services</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="contact-us.php">Contact Us</a>
                    </li>
                </ul>
            </div>

            <div class="others-options style-two d-flex align-items-center">
                <div class="gap-40 d-flex">
                    <a href="customer/login.php" class="text-decoration-none text-white">Login</a>
                </div>
                <a href="customer/register.php" class="default-btn active d-none d-sm-inline-block shadow-none border-0">
                    <div class="d-flex align-items-center gap-10">Register</div>
                </a>
                <a class="navbar-toggler" data-bs-toggle="offcanvas" href="#offcanvasExample" role="button" aria-controls="offcanvasExample">
                    <span class="burger-menu">
                        <span class="top-bar"></span>
                        <span class="middle-bar"></span>
                        <span class="bottom-bar"></span>
                    </span>
                </a>
            </div>
        </div>
    </nav>

    <!-- ===== MOBILE MENU ===== -->
    <div class="mobile-navbar offcanvas offcanvas-end border-0" tabindex="-1" id="offcanvasExample">
        <div class="offcanvas-header">
            <div>
                <a href="index.php" class="logo d-inline-block">
                    <img src="<?= htmlspecialchars($brand_logo) ?>" alt="logo">
                </a>
            </div>
            <button type="button" class="btn-close opacity-1" data-bs-dismiss="offcanvas" aria-label="Close">
                <i class="ti ti-x"></i>
            </button>
        </div>
        <div class="offcanvas-body">
            <ul class="mobile-menu">
                <li class="mobile-menu-list"><a href="index.php">Home</a></li>
                <li class="mobile-menu-list border-bottom"><a href="about-us.php" class="nav-link">About Us</a></li>
                <li class="mobile-menu-list border-bottom"><a href="services.php">Services</a></li>
                <li class="mobile-menu-list active without-icon border-bottom"><a href="contact-us.php" class="nav-link">Contact Us</a></li>
                <li class="mobile-menu-list without-icon border-bottom"><a href="customer/login.php" class="nav-link">Login</a></li>
                <li class="mobile-menu-list without-icon border-bottom"><a href="customer/register.php" class="nav-link">Register</a></li>
            </ul>
        </div>
    </div>

    <!-- ===== PAGE BANNER ===== -->
    <div class="page-banner-area ptb-100 bg-dark-div position-relative z-1">
        <div class="container mw-1690">
            <div class="page-banner-content text-center">
                <h2 class="text-white">Contact Us</h2>
                <ul class="d-flex justify-content-center align-items-center list-unstyled gap-2 mb-0">
                    <li><a href="index.php" class="text-decoration-none text-white">Home</a></li>
                    <li><i class="ti ti-chevron-right text-white"></i></li>
                    <li class="active">Contact Us</li>
                </ul>
            </div>
        </div>
        <img src="assets/images/shape5.png" class="position-absolute top-0 start-0 d-none d-xl-inline-block transform-unset" alt="shape">
        <img src="assets/images/shape6.png" class="position-absolute bottom-0 start-0 end-0 mx-auto d-none d-xl-inline-block shape6 transform-unset" alt="shape">
    </div>

    <!-- ===== CONTACT AREA ===== -->
    <div class="contact-area ptb-120">
        <div class="container mw-1690">
            <div class="row g-4">
                <!-- Contact Info Cards -->
                <div class="col-lg-4">
                    <div class="d-flex flex-column gap-4 h-100">
                        <div class="contact-info-item p-4 rounded-4 d-flex align-items-center gap-20">
                            <div class="icon rounded-circle d-flex align-items-center justify-content-center flex-shrink-0" style="width: 60px !important; height: 60px !important;">
                                <i class="ti ti-headset fs-30"></i>
                            </div>
                            <div>
                                <h3 class="fs-20 mb-2">24/7 Customer Support</h3>
                                <p class="mb-0"><a href="tel:<?= htmlspecialchars($phone) ?>" class="text-decoration-none"><?= htmlspecialchars($phone) ?></a></p>
                                <p class="mb-0" style="font-size: 0.85rem;">Available around the clock</p>
                            </div>
                        </div>

                        <div class="contact-info-item p-4 rounded-4 d-flex align-items-center gap-20">
                            <div class="icon rounded-circle d-flex align-items-center justify-content-center flex-shrink-0" style="width: 60px !important; height: 60px !important;">
                                <i class="ti ti-mail fs-30"></i>
                            </div>
                            <div>
                                <h3 class="fs-20 mb-2">Email Us</h3>
                                <p class="mb-0"><a href="mailto:<?= htmlspecialchars($email) ?>" class="text-decoration-none"><?= htmlspecialchars($email) ?></a></p>
                                <p class="mb-0" style="font-size: 0.85rem;">We reply within 24 hours</p>
                            </div>
                        </div>

                        <div class="contact-info-item p-4 rounded-4 d-flex align-items-center gap-20">
                            <div class="icon rounded-circle d-flex align-items-center justify-content-center flex-shrink-0" style="width: 60px !important; height: 60px !important;">
                                <i class="ti ti-map-pin fs-30"></i>
                            </div>
                            <div>
                                <h3 class="fs-20 mb-2">Our Office</h3>
                                <p class="mb-0"><?= htmlspecialchars($company_address) ?></p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Contact Form -->
                <div class="col-lg-8">
                    <div class="contact-form-wrap h-100">
                        <h3 class="mb-2">Send Us A Message</h3>
                        <p class="mb-4">Have a question about your account, need help with a transaction, or want to learn more about our services? Fill out the form below and our team will get back to you shortly.</p>

                        <form>
                            <div class="row g-4">
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Your Name</label>
                                        <input type="text" class="form-control" placeholder="John Doe">
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Email Address</label>
                                        <input type="email" class="form-control" placeholder="john@example.com">
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Phone Number</label>
                                        <input type="text" class="form-control" placeholder="+44 (0) 123 456 7890">
                                    </div>
                                </div>
                                <div class="col-lg-6">
                                    <div class="form-group">
                                        <label>Subject</label>
                                        <select class="form-control form-select">
                                            <option>General Enquiry</option>
                                            <option>Account Support</option>
                                            <option>Mortgage Enquiry</option>
                                            <option>Savings & Deposits</option>
                                            <option>Loans & Credit</option>
                                            <option>International Transfers</option>
                                            <option>Report a Problem</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <div class="form-group">
                                        <label>Message</label>
                                        <textarea class="form-control" rows="5" placeholder="How can we help you today?"></textarea>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <button type="submit" class="default-btn border-0 w-100" style="border-radius: 10px !important;">Send Message</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <!-- Map -->
            <div class="row mt-5">
                <div class="col-12">
                    <div class="map-iframe" style="height: 400px;">
                        <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3024.5441544490333!2d-73.99567958459426!3d40.71350867933185!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c25a271278e0d1%3A0xcaf551c6c5a08316!2s28%20Division%20St%2C%20New%20York%2C%20NY%2010002%2C%20USA!5e0!3m2!1sen!2sbd!4v1672223849503!5m2!1sen!2sbd" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- ===== FOOTER ===== -->
    <div class="footer-area bg-dark-div pb-120">
        <div class="container mw-1690">
            <div class="row g-4" data-cues="slideInUp" data-duration="900">
                <div class="col-lg-4 col-sm-6">
                    <div class="footer-single-widget">
                        <a href="index.php" class="d-inline-block mb-4">
                            <img src="<?= htmlspecialchars($brand_logo) ?>" width="100" height="100" alt="white-logo">
                        </a>
                        <p class="text-white">Trusted banking services with transparent rates, secure accounts, and dedicated customer support — helping you manage your money with confidence.</p>
                        <ul class="p-0 mb-0 mt-4 list-unstyled social-link d-flex gap-10 align-items-center">
                            <li class="mb-0"><span class="text-white">Follow Us:</span></li>
                            <li class="mb-0"><a href="#" target="_blank"><i class="ti ti-brand-facebook"></i></a></li>
                            <li class="mb-0"><a href="#" target="_blank"><i class="ti ti-brand-instagram"></i></a></li>
                            <li class="mb-0"><a href="#" target="_blank"><i class="ti ti-brand-x"></i></a></li>
                            <li class="mb-0"><a href="#" target="_blank"><i class="ti ti-brand-linkedin"></i></a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-lg-4 col-sm-6">
                    <div class="footer-single-widget">
                        <h3>Quick Links</h3>
                        <ul class="import-link p-0 m-0 list-unstyled">
                            <li><a href="about-us.php">About Us</a></li>
                            <li><a href="services.php">Current Accounts</a></li>
                            <li><a href="services.php">Savings</a></li>
                            <li><a href="services.php">Mortgages</a></li>
                            <li><a href="services.php">Loans & Credit</a></li>
                            <li><a href="contact-us.php">Support</a></li>
                        </ul>
                    </div>
                </div>
                <div class="col-lg-4 col-sm-6">
                    <div class="footer-single-widget">
                        <h3>Get In Touch</h3>
                        <ul class="p-0 m-0 list-unstyled info-list">
                            <li class="d-flex">
                                <div class="flex-shrink-0"><i class="ti ti-map-pin-filled"></i></div>
                                <div class="flex-grow-1">
                                    <h6>Location</h6>
                                    <p><?= htmlspecialchars($company_address) ?></p>
                                </div>
                            </li>
                            <li class="d-flex">
                                <div class="flex-shrink-0"><i class="ti ti-mail-filled"></i></div>
                                <div class="flex-grow-1">
                                    <h6>Email</h6>
                                    <a href="mailto:<?= htmlspecialchars($email) ?>"><span><?= htmlspecialchars($email) ?></span></a>
                                </div>
                            </li>
                            <li class="d-flex">
                                <div class="flex-shrink-0"><i class="ti ti-phone-filled"></i></div>
                                <div class="flex-grow-1">
                                    <h6>Phone</h6>
                                    <a href="tel:<?= htmlspecialchars($phone) ?>"><?= htmlspecialchars($phone) ?></a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <button type="button" id="backtotop" style="background-color: #004d9b !important;">
        <i class="ti ti-arrow-narrow-up"></i>
    </button>

    <script src="assets/js/bootstrap.bundle.min.js"></script>
    <script src="assets/js/swiper-bundle.min.js"></script>
    <script src="assets/js/scrollCue.min.js"></script>
    <script src="assets/js/fslightbox.js"></script>
    <script src="assets/js/ukiyo.min.js"></script>
    <script src="assets/js/lenis.js"></script>
    <script src="assets/js/gsap.min.js"></script>
    <script src="assets/js/ScrollTrigger.min.js"></script>
    <script src="assets/js/custom.js"></script>
    <?php if (!empty($settings['live_chat_code'])): ?>
        <?= $settings['live_chat_code']; ?>
    <?php endif; ?>
</body>

</html>