/* Footer override styles (mobile-first, Bootstrap-friendly)
   File: public/assets/css/footer-override.css
*/

.rs-footer-one {
  background: #0f1720; /* deep neutral */
  color: #e6eef8;
  padding: 20px 0 0 0;
  font-family: var(--rs-ff-body, Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial);
}

.footer-sep {
  height: 1px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 8px;
}

.footer-top { padding-bottom: 8px; }

.footer-brand .footer-title { margin-top: 6px; font-size: 18px; font-weight: 600; color: #fff; }
.footer-desc { color: rgba(230,238,248,0.84); font-size: 13px; margin-bottom: 8px; }

/* Social links */
.footer-social a.btn-social { display:inline-block; padding:6px 10px; border-radius:6px; text-decoration:none; font-size:13px; color:#fff; background:transparent; border:1px solid rgba(255,255,255,0.04); }
.footer-social a.btn-social:hover { background: rgba(255,255,255,0.03); }

.footer-title-sm { font-size:14px; font-weight:600; margin-bottom:8px; color:#fff; }
.footer-nav ul li a { color: rgba(230,238,248,0.92); text-decoration:none; display:block; padding:4px 0; }
.footer-nav ul li a:hover { color: #9ac1ff; }

footer .form-control-sm { background: transparent; border: 1px solid rgba(255,255,255,0.06); color: #fff; }
footer .btn-sm.btn-primary { background: #1f6fff; border-color: #1f6fff; }
.footer-newsletter-btn { width: 100%; }
@media (min-width: 576px) {
  .footer-newsletter-btn { width: auto; }
}

/* small, compact footer social icons row */
.footer-social-sm a.btn-social { width: 34px; height: 34px; display:inline-flex; align-items:center; justify-content:center; padding:0; border-radius:6px; }

/* Copyright area */
.rs-footer-copyright-area { background: transparent; padding-top: 10px; padding-bottom: 12px; border-top: 1px solid rgba(255,255,255,0.03); }
.rs-footer-copyright-area a { color: rgba(230,238,248,0.9); text-decoration:none; }
.rs-footer-copyright-area a:hover { color: #9ac1ff; }
.rs-footer-copyright-area p { color: rgba(230,238,248,0.9); font-size:13px; }

/* mobile-only horizontal rule for footer brand block */
.mobile-hr {
  height: 1px;
  border: none;
  background: #dfe7f5; /* solid color (no opacity) */
  margin: 0 auto 40px auto; /* 0 top, auto left/right, 40px bottom */
  width: 60vw; /* use viewport width so the line is centered in total page width */
  max-width: 220px; /* keep it compact on wider mobiles */
  display: block;
  box-sizing: content-box;
}

/* ensure hr is hidden on md and up via the d-md-none bootstrap utility in markup */
@media (min-width: 768px) {
  .mobile-hr { display: none !important; }
}

/* Responsive tweaks */
@media (max-width: 575.98px) {
  .footer-desc { display:block; max-width: 100%; }
  .footer-social a.btn-social { padding:6px 8px; font-size:12px; }
}

@media (min-width: 768px) {
  .rs-footer-one { padding: 28px 0 12px 0; }
  .footer-desc { max-width: 360px; }
}

/* Ensure footer links are keyboard focus friendly */
.rs-footer-one a:focus { outline: 2px solid rgba(31,111,255,0.24); outline-offset: 2px; }

/* Minor utility tweaks to avoid conflicts */
.rs-footer-one .container { max-width: 1140px; }

/* Keep high specificity low so these rules can be easily adjusted */
