/* ==========================================================
   RMPL FOOTER
========================================================== */

.main-footer {
  background: #171717;
  color: #fff;
  padding: 22px 0;
  /* margin-top: 80px; */
}

.main-footer .container {
  max-width: 1320px;
}

.footer-logo {
  max-height: 65px;
  width: auto;
}

.main-footer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}

.main-footer a {
  color: #d71945;
  text-decoration: none;
  transition: 0.3s;
}

.main-footer a:hover {
  color: #fff;
}

/* ===========================
   BACK TO TOP
=========================== */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #d71945;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 9999;
  transition: 0.3s;
}

.back-to-top:hover {
  background: #0c1320;
  transform: translateY(-3px);
}

.back-to-top.show {
  display: block;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 767px) {
  .main-footer {
    text-align: center;
    padding: 18px 0;
  }

  .footer-logo {
    max-height: 55px;
    margin-bottom: 15px;
  }

  .main-footer .text-md-end {
    text-align: center !important;
    margin-top: 15px;
  }
}

/* ===========================
   HIDE FLOATERS NEAR FOOTER
   Once the footer scrolls into view, the WhatsApp button,
   back-to-top button, and sticky CTA bar step aside so they
   don't sit on top of footer content.
=========================== */

body.footer-in-view .back-to-top,
body.footer-in-view .whatsapp-float,
body.footer-in-view .sticky-cta-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
