/* Shared frontend chrome: logo, header, footer, branded loader */
:root {
  --nx-blue-deep: #052c65;
  --nx-blue: #0d6efd;
  --nx-blue-soft: #6ea8fe;
  --nx-gold: #ffc221;
}

.nx-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(900px 480px at 50% 35%, #0d6efd 0%, #052c65 55%, #031833 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.nx-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.nx-preloader__inner { text-align: center; }
.nx-preloader__mark {
  width: clamp(220px, 42vw, 340px);
  height: auto;
  margin: 0 auto 18px;
  animation: nxMarkIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.nx-preloader__mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}
.nx-preloader__bar {
  width: 140px;
  height: 2px;
  margin: 16px auto 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.nx-preloader__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ffe08a, var(--nx-gold));
  animation: nxLoadBar 1.1s ease-in-out forwards;
}
@keyframes nxMarkIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes nxLoadBar {
  from { width: 0; }
  to { width: 100%; }
}

.mean-bar { background: #e3e2dd !important; }
.main-nav { background: #e3e2dd; }
.theme-dark .mean-bar { background: #252525 !important; }

.lg { position: relative; }
.lg img {
  position: absolute;
  z-index: 99;
  max-width: 250px;
  top: -70px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .main-nav .navbar .navbar-brand img {
    max-width: 200px;
    top: -55px;
  }
}
@media (max-width: 768px) {
  .top-header { display: none; }
}
@media only screen and (max-width: 767px) {
  .mobile-nav .logo img {
    position: relative;
    top: -10px;
  }
}

.social-icons li { display: inline-block; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.social-icon.facebook:hover { background-color: #1877f2; color: #fff; }
.social-icon.twitter:hover { background-color: #1da1f2; color: #fff; }
.social-icon.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
}
.social-icon.linkedin:hover { background-color: #0a66c2; color: #fff; }

.copy-right-area { border-top: 1px solid rgba(255, 194, 33, 0.28); }
.copy-right-area p {
  color: #ffffff !important;
  margin-bottom: 6px;
  font-size: 15px;
}
.copy-right-area a { color: #ffc221 !important; text-decoration: none; }
.copy-right-area a:hover { color: #ffe08a !important; }

@media (prefers-reduced-motion: reduce) {
  .nx-preloader__mark { animation: none !important; }
}
