/* Shared layout styles across static pages (footer + floating messenger button) */

:root {
  /* Used for link hovers in footer, etc. */
  --site-accent: #4a6cf7;
  /* Messenger brand-ish blue for the floating action button */
  --messenger-blue: #0084ff;
}

/* Footer */
.footer {
  background: #000000;
  color: #ffffff;
  padding: 2rem 0;
}

.footer-links {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--site-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer p {
  margin: 0;
}

/* Floating messenger button */
.float-btn {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  background: var(--messenger-blue);
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  background: #0066cc;
  transform: scale(1.1);
}

.float-btn i {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
}

/* RTL support */
html[dir="rtl"] .float-btn {
  inset-inline-end: auto;
  inset-inline-start: 20px;
}

/* Bootstrap modal close button: move to left in RTL (Bootstrap uses margin-left:auto) */
html[dir="rtl"] .modal-header .btn-close {
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}


