/* ===== START: HOSTECHPK FOOTER COMPONENT ONLY ===== */
/* All footer selectors are scoped under .site-footer. Do not add global selectors here. */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 10;
  padding: 46px 0 0;
  color: #475467;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(108, 112, 238, .065) 0, rgba(108, 112, 238, 0) 28%),
    radial-gradient(ellipse at 100% 15%, rgba(108, 112, 238, .065) 0, rgba(108, 112, 238, 0) 30%),
    linear-gradient(135deg, #fff 0%, #fcfcff 56%, #f7f7ff 100%);
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
}
.site-footer::before {
  width: 420px;
  height: 170px;
  right: -190px;
  top: 20px;
  border: 1px solid rgba(70, 73, 180, .075);
  box-shadow: 0 0 0 18px rgba(70, 73, 180, .018), 0 0 0 38px rgba(70, 73, 180, .012);
  transform: rotate(-13deg);
}
.site-footer::after {
  width: 300px;
  height: 115px;
  left: -180px;
  bottom: 90px;
  border: 1px solid rgba(70, 73, 180, .065);
  box-shadow: 0 0 0 17px rgba(70, 73, 180, .018), 0 0 0 35px rgba(70, 73, 180, .012);
  transform: rotate(12deg);
}
.site-footer .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  width: 100%;
}
.site-footer .footer-brand img {
  display: block;
  width: 220px;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}
.site-footer .footer-brand p {
  max-width: 320px;
  margin: 16px 0 18px;
  color: #667085;
  font-size: 13.5px;
  line-height: 1.75;
}
.site-footer .footer-grid h4 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #30358e;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .025em;
}
.site-footer .footer-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #8588ed;
}
.site-footer .footer-grid > div > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  color: #475467;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: color .2s ease, transform .2s ease;
}
.site-footer .footer-grid > div > a:hover {
  color: #30358e;
  transform: translateX(2px);
}
.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e4ff;
  border-radius: 12px;
  background: rgba(235, 236, 255, .78);
  color: #30358e;
}
.site-footer .footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.site-footer .footer-payment-row {
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid #e2e4f5;
  border-bottom: 1px solid #e2e4f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .footer-payment-title {
  display: flex;
  flex-direction: column;
}
.site-footer .footer-payment-title span {
  color: #30358e;
  font-size: 13.5px;
  font-weight: 700;
}
.site-footer .footer-payment-title small {
  color: #667085;
  font-size: 12px;
}
.site-footer .footer-payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer .payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 7px 13px;
  background: #fff;
  border: 1px solid #e0e4f5;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(48, 53, 142, .045);
  font-size: 12.5px;
  font-weight: 650;
  color: #344054;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.site-footer .payment-badge:hover {
  border-color: #b8bbff;
  transform: translateY(-1px);
}
.site-footer .payment-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.site-footer .payment-jazzcash .payment-symbol { background: #e11d48; color: #fff; }
.site-footer .payment-easypaisa .payment-symbol { background: #10b981; color: #fff; }
.site-footer .payment-upaisa .payment-symbol { background: #f97316; color: #fff; }
.site-footer .payment-bop .payment-symbol { background: #0284c7; color: #fff; font-size: 9.5px; }
.site-footer .footer-bottom {
  padding: 20px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
  color: #667085;
}
.site-footer .footer-bottom p { margin: 0; }
.site-footer .legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  padding-right: 0;
}
.site-footer .legal-links a {
  color: #667085;
  white-space: nowrap;
  transition: color .2s ease;
}
.site-footer .legal-links a:hover { color: #30358e; }
@media (max-width: 1000px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-payment-row { align-items: flex-start; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 34px; }
  .site-footer .container { width: min(100% - 28px, 1180px); }
  .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-footer .footer-brand { grid-column: auto; }
  .site-footer .footer-payment-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer .footer-payment-methods { width: 100%; gap: 8px; }
  .site-footer .payment-badge { padding: 7px 10px; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
  .site-footer .legal-links { justify-content: center; gap: 10px 16px; }
}
/* ===== END: HOSTECHPK FOOTER COMPONENT ONLY ===== */
