<!-- Map Section -->
		<!-- <div class="map-section">
			<div class="contact-map-area">
				<iframe class="contact-map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2689.961936781822!2d-122.34013238480624!3d47.60742979591455!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x54906ab3cbba9c83%3A0x548849e16a192f92!2s1301%202nd%20Ave%20%232600%2C%20Seattle%2C%20WA%2098101%2C%20USA!5e0!3m2!1sen!2sng!4v1626796438815!5m2!1sen!2sng" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
			</div>
		</div> -->
		<!-- End Map Section -->
		   <!-- Main Footer -->
           <style>
       .footer-widget * {
           color: white !important;
       }

       .main-footer {
           background-color: #1F1B44;
       }
   </style>
   <footer class="main-footer">
       <div class="auto-container">
           <!--Widgets Section-->
           <div class="widgets-section">
               <div class="row clearfix">
                   <!-- Column -->
                   <div class="big-column col-lg-6 col-md-12 col-sm-6 col-12">
                       <div class="row clearfix">
                           <!-- Footer Column -->
                           <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                               <div class="footer-widget logo-widget">
                                 
                                   <div class="call">
                                       Call us directly
                                       <a class="phone" href="#">+<?= $page['url_tel'] ?></a>
                                       <a class="email" href="mailto:<?= $page['url_email'] ?>"><?= $page['url_email'] ?></a>
                                       <!--<a class="email">Address: <span>Albufera Avenue 67, 28038</span></a>-->
                                   </div>
                                    
                                <div id="google_translate_element" style="height:0px!important;">
                                </div>
                          

                               </div>

                           </div>


                           <!-- Footer Column -->
                           <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                               <div class="footer-widget links-widget">
                                   <h5>Company</h5>
                                   <ul class="list-link">
                                       <li><a href="<?= $web_url ?>/p/about.php">About Us</a></li>
                                       <li><a href="<?= $web_url ?>/p/working-capital-loans.php">Working Loans</a></li>
                                       <li><a href="<?= $web_url ?>/p/ultimate-checking.php">Ultimate Checking</a></li>
                                       <!-- <li><a href="<?= $web_url ?>/p/business-term-loans">Business Saving</a></li>
                                       <li><a href="<?= $web_url ?>/p/online-banking">Online Banking Us</a></li> -->
                                   </ul>
                               </div>
                           </div>
                       </div>
                   </div>

                   <!-- Column -->
                   <div class="big-column col-lg-6 col-md-12 col-sm-6 col-12">
                       <div class="row clearfix">
                           <!-- Footer Column -->
                           <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                               <div class="footer-widget links-widget">
                                   <h5>Quick Links</h5>
                                   <ul class="list-link">
                                       <li><a href="<?= $web_url ?>/p/business-savings-account.php">Business Account</a></li>
                                       <li><a href="<?= $web_url ?>/p/lost-cards.php">Lost Card</a></li>
                                       <li><a href="<?= $web_url ?>/p/health-savings-account.php">Health Savings</a></li>
                                       <!-- <li><a href="<?= $web_url ?>/p/home-mortgage-loans">Home Mortgage</a></li>
                                       <li><a href="<?= $web_url ?>/p/wire-transfers">Wire Transfers</a></li> -->
                                   </ul>
                               </div>
                           </div>

                           <!-- Footer Column -->
                           <div class="footer-column col-lg-6 col-md-6 col-sm-12">
                               <div class="footer-widget newsletter-widget">
                                   <h5>Our Newsletter</h5>
                                   <div class="text">
                                       Subscribe to our newsletter and we will inform you about
                                       latest updates and offers
                                   </div>
                                   <!-- Newsletter Form -->
                                   <!-- <div class="newsletter-form">
                                       <form method="post">
                                           <div class="form-group">
                                               <input type="email" name="email" value="" placeholder="Email Address..." required />
                                               <button type="submit" class="theme-btn icofont-arrow-right"></button>
                                           </div>
                                       </form>
                                   </div> -->
                               </div>
                           </div>
                       </div>
                   </div>
               </div>
           </div>

           <!-- Footer Bottom -->
           <div class="footer-bottom">
               <div class="auto-container">
                   <div class="bottom-inner">
                       <div class="row clearfix">
                           <div class="col-lg-8 col-md-12 col-sm-12">
                               <div class="copyright">
                                   © 2025 <strong><?= $pageTitle ?></strong>
                               </div>
                           </div>

                           <div class="col-lg-4 col-md-12 col-sm-12">
                               <ul class="social-nav">
                                   <li>
                                       <a href="#" class="icofont-twitter"></a>
                                   </li>
                                   <li>
                                       <a href="#" class="icofont-facebook"></a>
                                   </li>
                                   <li>
                                       <a href="#" class="icofont-instagram"></a>
                                   </li>
                               </ul>
                           </div>
                       </div>
                   </div>
               </div>
           </div>
       </div>
   </footer>	</div>
	<!--End pagewrapper-->



	<!-- Scroll To Top -->
	<div class="scroll-to-top scroll-to-target" data-target="html">
		<span class="fa fa-arrow-circle-up"></span>
	</div>

	<script src="<?= $web_url ?>/front/js/jquery.js"></script>
<script src="<?= $web_url ?>/front/js/popper.min.js"></script>
<script src="<?= $web_url ?>/front/js/bootstrap.min.js"></script>
<script src="<?= $web_url ?>/front/js/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="<?= $web_url ?>/front/js/jquery.fancybox.js"></script>
<script src="<?= $web_url ?>/front/js/appear.js"></script>
<script src="<?= $web_url ?>/front/js/owl.js"></script>
<script src="<?= $web_url ?>/front/js/wow.js"></script>
<script src="<?= $web_url ?>/front/js/validate.js"></script>
<script src="<?= $web_url ?>/front/js/jquery-ui.js"></script>
<script src="<?= $web_url ?>/front/js/script.js"></script>

 <script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
Function disableclick(e)
{
  if(event.button==2)
   {
     alert(status);
     return false;	
   }
}
</script>

  <!--Start of Livechat Script-->
 
 <?= $page['livechat'] ?>

<!--End of Livechat Script-->

 <script>
      const countryLangMap = {
      AF: 'fa', AL: 'sq', DZ: 'ar', AS: 'en', AD: 'ca', AO: 'pt', AI: 'en', AQ: 'en',
      AG: 'en', AR: 'es', AM: 'hy', AW: 'nl', AU: 'en', AT: 'de', AZ: 'az', BS: 'en',
      BH: 'ar', BD: 'bn', BB: 'en', BY: 'be', BE: 'nl', BZ: 'en', BJ: 'fr', BM: 'en',
      BT: 'dz', BO: 'es', BA: 'bs', BW: 'en', BR: 'pt', BN: 'ms', BG: 'bg', BF: 'fr',
      BI: 'fr', KH: 'km', CM: 'fr', CA: 'en', CV: 'pt', CF: 'fr', TD: 'fr', CL: 'es',
      CN: 'zh-CN', CO: 'es', KM: 'ar', CG: 'fr', CD: 'fr', CR: 'es', CI: 'fr', HR: 'hr',
      CU: 'es', CY: 'el', CZ: 'cs', DK: 'da', DJ: 'fr', DM: 'en', DO: 'es', EC: 'es',
      EG: 'ar', SV: 'es', GQ: 'es', ER: 'ti', EE: 'et', ET: 'am', FJ: 'en', FI: 'fi',
      FR: 'fr', GA: 'fr', GM: 'en', GE: 'ka', DE: 'de', GH: 'en', GR: 'el', GL: 'da',
      GD: 'en', GT: 'es', GN: 'fr', GW: 'pt', GY: 'en', HT: 'ht', HN: 'es', HU: 'hu',
      IS: 'is', IN: 'hi', ID: 'id', IR: 'fa', IQ: 'ar', IE: 'en', IL: 'he', IT: 'it',
      JM: 'en', JP: 'ja', JO: 'ar', KZ: 'kk', KE: 'en', KI: 'en', KP: 'ko', KR: 'ko',
      KW: 'ar', KG: 'ky', LA: 'lo', LV: 'lv', LB: 'ar', LS: 'en', LR: 'en', LY: 'ar',
      LI: 'de', LT: 'lt', LU: 'fr', MK: 'mk', MG: 'fr', MW: 'en', MY: 'ms', MV: 'dv',
      ML: 'fr', MT: 'mt', MH: 'en', MR: 'ar', MU: 'en', MX: 'es', FM: 'en', MD: 'ro',
      MC: 'fr', MN: 'mn', ME: 'sr', MA: 'ar', MZ: 'pt', MM: 'my', NA: 'en', NP: 'ne',
      NL: 'nl', NZ: 'en', NI: 'es', NE: 'fr', NG: 'en', NO: 'no', OM: 'ar', PK: 'ur',
      PW: 'en', PA: 'es', PG: 'en', PY: 'es', PE: 'es', PH: 'en', PL: 'pl', PT: 'pt',
      QA: 'ar', RO: 'ro', RU: 'ru', RW: 'rw', KN: 'en', LC: 'en', VC: 'en', WS: 'sm',
      SM: 'it', ST: 'pt', SA: 'ar', SN: 'fr', RS: 'sr', SC: 'fr', SL: 'en', SG: 'en',
      SK: 'sk', SI: 'sl', SB: 'en', SO: 'so', ZA: 'en', ES: 'es', LK: 'si', SD: 'ar',
      SR: 'nl', SZ: 'en', SE: 'sv', CH: 'de', SY: 'ar', TW: 'zh-TW', TJ: 'tg', TZ: 'sw',
      TH: 'th', TL: 'pt', TG: 'fr', TO: 'en', TT: 'en', TN: 'ar', TR: 'tr', TM: 'tk',
      UG: 'en', UA: 'uk', AE: 'ar', GB: 'en', US: 'en', UY: 'es', UZ: 'uz', VU: 'bi',
      VA: 'it', VE: 'es', VN: 'vi', YE: 'ar', ZM: 'en', ZW: 'en'
    // ... include all your countries here
  };

   let targetLang = 'en'; // Default fallback

  function googleTranslateElementInit() {
    new google.translate.TranslateElement({
      pageLanguage: 'en',
      autoDisplay: false
    }, 'google_translate_element');

    const interval = setInterval(() => {
      const select = document.querySelector('.goog-te-combo');
      if (select && select.options.length > 1) {
        if (targetLang !== 'en') {
          select.value = targetLang;
          select.dispatchEvent(new Event('change'));
        }
        clearInterval(interval);
      }
    }, 500);
  }

  // Detect country and language
  fetch('https://ipapi.co/json/')
    .then(res => res.json())
    .then(data => {
      const countryCode = data.country_code;
      const lang = countryLangMap[countryCode];
      console.log(`Detected country code: ${countryCode}, Language: ${lang}`);
      if (lang) targetLang = lang;
    })
    .catch(err => {
      console.warn('Language detection failed:', err);
    })
    .finally(() => {
      // Load the translate widget AFTER detecting language
      const script = document.createElement('script');
      script.src = "//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit";
      document.body.appendChild(script);
    });
</script>


</body>


</html>