
.footer-container {
    width: 98%;
    left: 1%;
}

.footer-section {
  background: #202020;
  position: relative;
}

.single-cta {
  color: #0091ff;
  font-size: 18px;
  margin: 16px;
}

.single-cta a {
    display: grid;
    text-align: center;
}

.single-cta i,
.single-cta .fas,
.single-cta .fa,
.single-cta .far
{
  color: #0091FF;
  font-size: 32px;
  margin: 8px;
}
.cta-text {
  display: inline-block;
}
.cta-text h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 2px;
}
.cta-text span {
  color: #F5F5F5;
  font-size: 15px;
}

.cta-text span a {
  color: #F5F5F5;
  font-size: 16px;
}
.footer-content {
  position: relative;
  z-index: 2;
}
.footer-pattern img {
  position: absolute;
  top: 0;
  left: 0;
  height: 330px;
  background-size: cover;
  background-position: 100% 100%;
}
.footer-logo {
  margin-bottom: 30px;
}


.footer-logo img {
    max-width: 200px;
}

.footer-logo img::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 4px;
  width: 50px;
  background: #9c1c20;
}

.footer-text p {
  margin-bottom: 14px;
  font-size: 14px;
      color: #FeFeFe;
  line-height: 28px;
}
.footer-social-icon span {
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}
.footer-social-icon a {
  padding: 4px 0px;
}
.footer-social-icon i {
  height: 32px;
  width: 32px;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
}
.facebook-bg{
  background: #3B5998;
}
.twitter-bg{
  background: #55ACEE;
}
.google-bg{
  background: #DD4B39;
}

.footer-widget {
    margin-bottom: 16px;
}

.footer-widget-heading h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
  text-align: left;
}
.footer-widget-heading h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  height: 4px;
  width: 50px;
  background: #F7F7F7;
}
.footer-widget ul {
    margin: 0px;
    padding: 0px;
    text-align: left;
}
.footer-widget ul li {
  display: inline-block;
  float: left;
  width: 20%;
  margin-bottom: 12px;
}
.footer-widget ul li a:hover{
  color: #FFFFFF;
  font-weight: bold;
}
.footer-widget ul li a {
  color: #F2F2F2;
  text-transform: capitalize;
  text-decoration: none;
}
.subscribe-form {
  position: relative;
  overflow: hidden;
}
.subscribe-form input {
  width: 100%;
  padding: 14px 10px;
  background: #FFF;
  border: 1px solid #2E2E2E;
  color: #000;
  border-radius: 16px;
  font-size: 12px;
  line-height: 28px;
}
.subscribe-form button {
    position: absolute;
    right: 0;
    background: var(--dark);
    padding: 14px 18px;
    border: 1px solid var(--dark);
    top: 0;
    border-radius: 0 16px 16px 0;
    width: 48px;
    height: 42px;
    padding: 0;
    margin: 0;
}
.subscribe-form button i {
  color: #fff;
  font-size: 22px;
  transform: rotate(-6deg);
}
.copyright-area{
  background: #202020;
  padding: 25px 0;
  border-top: 1px solid var(--white);
}
.copyright-text {
  text-align: center;
}

.copyright-text p {
  margin: 0;
  font-size: 14px;
  color: #F2F2F2;
  text-align: center;
}
.copyright-text p a{
  color: #9c1c20;
  text-align: center;
}
.footer-menu li {
  display: inline-block;
  margin-left: 20px;
}
.footer-menu li:hover a{
  color: #9c1c20;
}
.footer-menu li a {
  font-size: 14px;
  color: #F2F2F2;
}

@media screen and (max-width: 480px) {
    .cta-text span {
        font-size: 12px;
    }
    .single-cta {
        font-size: 14px;
        margin: 4px;
    }
    .footer-widget ul li {
        width: 33%;
        text-align: center;
    }
    .cta-text h4 {
        font-size: 14px;
    }
}


/* Footer rows carry inline width:90%; left:5% plus Bootstrap's negative gutters,
   which made every page a few pixels wider than a phone screen. */
@media screen and (max-width: 767.98px) {
  .footer-section .footer-container .row {
    left: auto !important;
    width: auto !important;
    margin-inline: 0;
  }
}

/* ======================================================================
   Compact footer (_footer.php .rz-footer)
   ====================================================================== */
.rz-footer {
  margin: 0;
  background: #0f1b26;
  color: #b8c6d3;
  font-size: 0.92rem;
  line-height: 1.5;
}

.rz-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 28px;
}

.rz-footer h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.rz-footer a {
  color: #b8c6d3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rz-footer a:hover,
.rz-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.rz-footer-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.rz-footer-brand p {
  max-width: 32ch;
  margin: 12px 0 16px;
  color: #93a4b3;
}

.rz-footer-social {
  display: flex;
  gap: 10px;
}

.rz-footer .rz-footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.rz-footer .rz-footer-social a:hover,
.rz-footer .rz-footer-social a:focus-visible {
  background: var(--primary);
}

.rz-footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rz-footer-links-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.rz-footer-links li {
  float: none;
  width: auto;
  margin: 0;
}

.rz-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rz-footer-contact i {
  width: 16px;
  color: var(--primary);
  text-align: center;
}

.rz-footer .rz-footer-feedback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  margin: 16px 0 0;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rz-footer .rz-footer-feedback:hover,
.rz-footer .rz-footer-feedback:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  outline: none;
}

/* Admin-only debug links: one quiet row. */
.rz-footer > .row {
  max-width: 1180px;
  margin: 0 auto !important;
  padding: 0 20px 16px;
}

.rz-footer > .row .footer-widget-heading h3 {
  margin-bottom: 8px;
}

.rz-footer > .row .footer-widget ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rz-footer > .row .footer-widget ul li {
  float: none;
  width: auto;
  margin: 0;
}

.rz-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rz-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 0.82rem;
  color: #8193a3;
}

.rz-footer-bottom-inner #siteseal img {
  display: block;
  max-height: 32px;
  width: auto;
}

@media screen and (max-width: 991.98px) {
  .rz-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}

@media screen and (max-width: 575.98px) {
  .rz-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px 16px 16px;
  }

  /* Logo and social icons on one row; the tagline is dropped on phones. */
  .rz-footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .rz-footer-brand img {
    width: 120px;
  }

  .rz-footer-brand p {
    display: none;
  }

  .rz-footer h3 {
    margin-bottom: 8px;
  }

  /* Company and Legal links as compact three-column grids. */
  .rz-footer-col .rz-footer-links,
  .rz-footer-col .rz-footer-links-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
  }

  .rz-footer-col .rz-footer-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .rz-footer .rz-footer-feedback {
    margin-top: 12px;
  }

  .rz-footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px 64px; /* clear the floating chat button */
    text-align: center;
  }
}

body { min-height: 100vh; min-height: 100dvh; }
body > .rz-footer { position: sticky; top: 100vh; top: 100dvh; }
