/* =============================================
   footer.css — Site Footer
   ============================================= */

/* ---- Footer Wrapper ---- */
.site-footer {
  background: #5a5a5a;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}

/* ---- Top Section ---- */
.site-footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding: 48px 60px 40px;
  align-items: start;
}

/* ---- Brand / Logo col ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-social a:hover { background: #d96d14; }

/* ---- Nav Columns ---- */
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.footer-nav-col ul li {
  margin-bottom: 9px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.footer-nav-col ul li::before {
  content: '▸';
  color: var(--primary);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-nav-col ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.2s;
}

.footer-nav-col ul li a:hover { color: var(--primary); }

.footer-col-heading {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-arrow {
  color: var(--primary);
  font-size: 10px;
}

/* ---- Contact / UPI col ---- */
.footer-upi-heading {
  margin-top: 20px;
}

.footer-upi-text {
  color: #bbb;
  font-size: 12.5px;
  margin: 4px 0 12px;
}

.footer-bank-card {
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  padding: 12px 16px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

.footer-qr img {
  width: 90px;
  height: 90px;
  display: block;
  flex-shrink: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  object-fit: contain;
}

.footer-qr {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-placeholder {
  width: 90px;
  height: 90px;
  background: #fff;
  border: 2px solid #333;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 4px;
}

.qr-placeholder i {
  font-size: 46px;
  color: #111;
}

.qr-placeholder span {
  font-size: 9px;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.footer-bank-details {
  flex: 1;
}

.footer-bank-table {
  width: 100%;
  border-collapse: collapse;
}

.footer-bank-table tr td {
  padding: 2px 6px 2px 0;
  vertical-align: middle;
  white-space: nowrap;
}

.fbt-label {
  font-size: 10px;
  color: #888;
  font-family: 'Poppins', sans-serif;
  width: 45%;
}

.fbt-val {
  font-size: 10.5px;
  font-weight: 700;
  color: #111;
  font-family: 'Poppins', sans-serif;
}

.footer-bank-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bank-details div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-bank-details span {
  font-size: 10px;
  color: #777;
}

.footer-bank-details strong {
  font-size: 11px;
  color: #222;
  font-weight: 700;
}

/* ---- Bottom Bar ---- */
.site-footer-bottom {
  border-top: 1px solid #6a6a6a;
  padding: 12px 60px;
  text-align: center;
  font-size: 11px;
  color: #fff !important;
  letter-spacing: 0.3px;
}

.site-footer-bottom span {
  color: #fff;
  font-weight: 400;
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 130, 32, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover { background: #d96d14; }

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover { color: var(--primary); }

/* ---- Footer Grid (4 columns) ---- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; }

.footer-logo .logo-text { font-size: 24px; color: #fff; }
.footer-col > p { margin: 12px 0 0; }

.footer-col .social-links { margin-top: 16px; }
.footer-col .social-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #ccc;
}
.footer-col .social-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- Newsletter Form ---- */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}

.back-to-top:hover { background: #d96d14; }
