/* ===== Navbar (alias old -> new) ===== */
.uix-navbar, .neuropi-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: transparent;
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.uix-navbar__container, .neuropi-navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.uix-navbar__brand, .neuropi-navbar__brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}
.uix-navbar__brand img, .neuropi-navbar__brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease;
}
.uix-navbar__menu-btn, .neuropi-navbar__menu-btn {
  background: #ff471d;
  color: #fff;
  border: 2px solid #ff471d;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Lato, sans-serif; /* capitalize font name */
  letter-spacing: 1px;
}
.uix-navbar.scrolled, .neuropi-navbar.scrolled {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
}
.uix-navbar.scrolled .uix-navbar__brand,
.neuropi-navbar.scrolled .neuropi-navbar__brand {
  color: #1a4255;
}
.uix-navbar.scrolled .uix-navbar__menu-btn,
.neuropi-navbar.scrolled .neuropi-navbar__menu-btn {
  background: #ff471d;
  color: #fff;
  border-color: #ff471d;
}

/* ===== Slide Menu ===== */
.uix-slide-menu, .neuropi-slide-menu {
  position: fixed;
  top: 0;
  right: -40%;
  width: 40%;
  height: 100vh;
  background-color: #ff471d;
  color: #fff;
  padding: 2rem;
  z-index: 1100;
  transition: right 0.4s ease-in-out;
  overflow: hidden;      /* list will scroll */
  display: flex;
  flex-direction: column;
}
.uix-slide-menu.active, .neuropi-slide-menu.active { right: 0; }

.uix-slide-menu__close, .neuropi-slide-menu__close {
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.uix-slide-menu__list, .neuropi-slide-menu__list {
  list-style: none;
  margin: 0;
  padding: 5rem 0 1rem 0;
  flex: 1;
  overflow-y: auto;
}
.uix-slide-menu__list li, .neuropi-slide-menu__list li { margin: 1.25rem 0; }
.uix-slide-menu__list li a, .neuropi-slide-menu__list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.75rem;
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transition: border-color 0.3s ease;
}
.uix-slide-menu__list li a:hover, .neuropi-slide-menu__list li a:hover { border-bottom-color: #fff; }

/* ===== Unified Footer inside slide menu ===== */
.uix-slide-menu__footer,
.neuropi-slide-menu__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.footer-contact,
.neuropi-footer-contact {
  color: #fff;
  font-family: Arial, sans-serif;
}
.footer-contact h4,
.neuropi-footer-contact h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
}
.footer-contact p,
.neuropi-footer-contact p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 0 0.5rem;
}
.footer-actions,
.neuropi-footer-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0.5rem;
}
.footer-actions a,
.neuropi-footer-actions a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: #fff;
  background-color: #ff471d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.footer-actions a:hover,
.neuropi-footer-actions a:hover {
  background-color: #e03e1a;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ===== Sentinel ===== */
#neuropi-nav-sentinel {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .uix-slide-menu, .neuropi-slide-menu { width: 55%; right: -55%; } /* match offset to width */
}
@media (max-width: 767px) {
  .uix-navbar__brand img, .neuropi-navbar__brand img { height: 56px; }
  .uix-slide-menu, .neuropi-slide-menu {
    width: 50%;
    right: -50%;
    padding: 1.5rem;
  }
  .uix-slide-menu__list, .neuropi-slide-menu__list { padding-top: 4rem; }
  .uix-slide-menu__list li a, .neuropi-slide-menu__list li a { font-size: 1.25rem; }
  .uix-slide-menu__footer, .neuropi-slide-menu__footer { padding: 1rem; }
}






/* Desktop: two columns, left/right aligned */
.np-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 20px; /* left padding 20px */
}

.np-footer-left h4 {
  color: #1a4255;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.np-footer-right {
  text-align: right;
  color: #fff;
  font-family: Arial, sans-serif;
}

.np-footer-right p {
  margin: 0 0 12px;
  line-height: 1.5;
}

/* Buttons */
.np-footer-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.np-footer-actions a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: #fff;
  background-color: #ff471d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.np-footer-actions a:hover {
  background-color: #e03e1a;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile/Tablet: stack & center */
@media (max-width: 768px) {
  .np-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .np-footer-right {
    text-align: center;
  }
  .np-footer-actions {
    justify-content: center;
  }
}
