/* Distinctive site footer styles */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.7)), var(--secondary-color, #0a4b7f);
  color: var(--text-color, #fff);
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( circle at 20% 30%, rgba(255,255,255,0.08), transparent 40%),
              radial-gradient( circle at 80% 70%, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}

.site-footer .footer-content {
  max-width: 1100px;
  margin: 0 auto;
  /* Stack elements vertically: brand centered on its own line, items beneath */
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.site-footer .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-footer .brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-footer .brand h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.site-footer .footer-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  /* Keep items centered under brand with a readable width */
  width: 100%;
  max-width: 720px;
}

.site-footer .footer-item i {
  font-size: 18px;
  color: var(--Tertiary-color, #00d1b2);
}

.site-footer .footer-item span {
  font-weight: 600;
  opacity: 0.95;
}

.site-footer .footer-item strong {
  margin-inline-start: auto;
  letter-spacing: 0.4px;
}

.site-footer .footer-item strong[dir="ltr"] {
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

.site-footer .copyright {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
}

/* Respect RTL/LTR */
html[dir="rtl"] .site-footer .footer-item {
  direction: rtl;
}
html[dir="ltr"] .site-footer .footer-item {
  direction: ltr;
}