@charset "UTF-8";

/* =========================================================
   IMASCits - Footer Section
   ========================================================= */

/*Start Footer*/
.footer {
  padding-top: calc(var(--Section-Padding) / 2);
  padding-bottom: calc(var(--Section-Padding) / 2);
  position: relative;
  overflow: hidden;
  color: var(--main-color);
  text-align: center;
  background:
    linear-gradient(180deg, rgb(222 0 125 / 5%), var(--General-color-W) 42%),
    var(--General-color-W);
  border-top: 1px solid rgb(222 0 125 / 14%);
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgb(222 0 125 / 8%), transparent 60%),
    repeating-linear-gradient(90deg, rgb(222 0 125 / 4%) 0 1px, transparent 1px 42px);
  z-index: -1;
}

.footer .container {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.footer .container img {
  height: 60px;
  max-width: 180px;
  object-fit: contain;
  margin: 0 auto 14px;
  transition: transform var(--main-transition),
              filter var(--main-transition);
}

.footer .container img:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.05);
}

.footer-brand {
  width: min(100%, 520px);
  padding: 24px;
  border: 1px solid rgb(222 0 125 / 14%);
  border-radius: 22px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 18px 42px rgb(222 0 125 / 10%);
}

.footer p:not(.copyright) {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 22px;
  border-bottom: 1px solid var(--main-color);
  color: var(--main-color);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, 900px);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgb(222 0 125 / 16%);
  border-radius: 16px;
  background: rgb(222 0 125 / 5%);
  color: var(--main-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color var(--main-transition),
              border-color var(--main-transition),
              color var(--main-transition),
              transform var(--main-transition);
}

.footer-links a:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: var(--General-color-W);
  transform: translateY(-2px);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 900px);
}

.footer-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgb(222 0 125 / 14%);
  border-radius: 999px;
  background: var(--General-color-W);
  color: var(--main-color);
  font-weight: 800;
  box-shadow: var(--main-box-shadow);
  transition: transform var(--main-transition),
              background-color var(--main-transition),
              color var(--main-transition);
}

.footer-contact .phone-number,
.phone-number,
a[href^="tel:"] span,
a[href*="wa.me"] .btn-number {
  direction: rtl;
  text-align: right;
  unicode-bidi: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.footer-contact a:hover {
  background: var(--main-color);
  color: var(--General-color-W);
  transform: translateY(-4px);
}

.footer-contact i {
  color: inherit;
}

.footer .copyright {
  margin-top: 4px;
  color: var(--Secondary-color);
  font-weight: bold;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.8;
}

.footer .copyright span {
  color: var(--main-color);
  font-weight: bold;
}

.footer .social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  flex-wrap: wrap;
}

.footer .social-icon a {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgb(222 0 125 / 8%);
  color: var(--main-color);
  transition: background-color var(--main-transition),
              transform var(--main-transition),
              box-shadow var(--main-transition);
}

.footer .social-icon a:hover {
  background-color: var(--main-color);
  transform: translateY(-5px);
  box-shadow: var(--main-box-shadow);
}

.footer .social-icon i {
  padding: 0;
  font-size: 18px;
  color: inherit;
  transition: color var(--main-transition);
}

.footer .social-icon a:hover i {
  color: var(--General-color-W);
}

@media (max-width: 767px) {
  .footer {
    padding-top: calc(var(--Section-Padding-Mobile, 60px) / 1.5);
    padding-bottom: calc(var(--Section-Padding-Mobile, 60px) / 1.5);
  }

  .footer .container img {
    height: 50px;
    max-width: 150px;
  }

  .footer p:not(.copyright) {
    padding: 15px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer .social-icon a {
    width: 38px;
    height: 38px;
  }

  .footer .social-icon i {
    font-size: 16px;
  }
}
/*End Footer*/

/* Current shared footer layout. */
html body .footer.footer-refined {
  padding: 40px 0 22px;
  background: var(--General-color-W, #fff) !important;
  border-top: 1px solid var(--Secondary-color);
}
html body .footer.footer-refined::before,
html body .footer.footer-refined::after { display: none !important; }
html body .footer.footer-refined > .container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  align-items: start;
  justify-items: stretch;
  gap: 28px;
  text-align: right;
}
html body .footer.footer-refined .footer-brand {
  width: 100%; min-width: 0; padding: 0 !important;
  border: 0 !important; border-radius: 0; background: transparent !important;
  box-shadow: none !important;
}
html body .footer.footer-refined .footer-brand img {
  display: block; width: 180px; height: 68px; max-width: 100%;
  object-fit: contain; object-position: right center;
  margin: 0 0 12px; transform: none;
}
html body .footer.footer-refined .footer-brand p {
  width: auto; padding: 0; margin: 0; border: 0;
  font-size: 15px; line-height: 1.8; text-align: right;
  color: var(--Secondary-color);
}
html body .footer.footer-refined h3 {
  margin: 0 0 4px; font-size: 16px; line-height: 1.6;
  color: var(--main-color); grid-column: 1 / -1;
}
html body .footer.footer-refined .footer-links,
html body .footer.footer-refined .footer-contact {
  display: grid !important; width: 100%; min-width: 0;
  gap: 10px; align-content: start;
}
html body .footer.footer-refined .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html body .footer.footer-refined .footer-contact { grid-template-columns: minmax(0, 1fr) !important; }
html body .footer.footer-refined :is(.footer-links, .footer-contact) a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; width: 100%; min-width: 0; padding: 9px 12px;
  box-sizing: border-box; border: 0; border-radius: 6px !important;
  background: var(--main-color) !important; color: var(--General-color-W, #fff) !important;
  font-size: 13px; line-height: 1.5; text-decoration: none; text-align: center;
  overflow-wrap: anywhere; white-space: normal;
  box-shadow: none !important; transform: none !important;
}
html body .footer.footer-refined :is(.footer-links, .footer-contact) a:is(:hover, :focus-visible) {
  background: var(--Secondary-color) !important; color: var(--General-color-W, #fff) !important;
}
html body .footer.footer-refined :is(.footer-links, .footer-contact) a,
html body .footer.footer-refined a :is(span, i) {
  -webkit-text-fill-color: currentColor !important;
}
html body .footer.footer-refined a :is(span, i) { color: inherit !important; }
html body .footer.footer-refined .footer-contact a span { min-width: 0; white-space: normal; }
html body .footer.footer-refined .footer-bottom {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding-top: 20px;
  border-top: 1px solid var(--Secondary-color);
}
html body .footer.footer-refined .social-icon {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: center; width: 100%; gap: 8px; margin: 0;
}
html body .footer.footer-refined .social-icon a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px !important;
  background: var(--main-color) !important; color: var(--General-color-W, #fff) !important;
  text-decoration: none; transform: none !important; box-shadow: none !important;
}
html body .footer.footer-refined .social-icon a:is(:hover, :focus-visible) { background: var(--Secondary-color) !important; }
html body .footer.footer-refined .social-icon i { font-size: 17px; padding: 0; }
html body .footer.footer-refined .copyright {
  margin: 0; padding: 0; border: 0; color: var(--Secondary-color);
  font-size: 13px; line-height: 1.8;
  width: 100%; text-align: center !important;
}
html body .footer.footer-refined .copyright span { color: inherit; }
@media (max-width: 900px) {
  html body .footer.footer-refined > .container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body .footer.footer-refined .footer-brand { grid-column: auto; }
}
@media (max-width: 600px) {
  html body .footer.footer-refined > .container { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; }
  html body .footer.footer-refined .footer-links { grid-template-columns: minmax(0, 1fr) !important; }
  html body .footer.footer-refined .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  html body .footer.footer-refined .social-icon { justify-content: center; }
}
