/* =========================================================
   Shared Header + Compact Mega Menus
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-header.scrolled {
  background:
    linear-gradient(
      135deg,
      rgba(70, 55, 111, .97),
      rgba(98, 82, 143, .97)
    );

  backdrop-filter:
    blur(18px);

  border-color:
    rgba(255,255,255,.10);

  box-shadow:
    0 12px 35px
    rgba(48,35,79,.18);
}

/* =========================================================
   PREMIUM NAVIGATION
========================================================= */

.nav-link {
  position: relative;

  transition:
    color .25s ease;
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 14px;
  right: 14px;
  bottom: 12px;

  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #f0bd2d,
      #ffffff
    );

  transform:
    scaleX(0);

  transform-origin:
    left;

  transition:
    transform .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform:
    scaleX(1);
}

.site-header.scrolled .nav-link {
  color:
    rgba(255,255,255,.90)
    !important;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
  color:
    #ffffff
    !important;
}

.navbar {
  min-height: 104px;
  padding: 0;
  transition: min-height 0.25s ease;
}

.site-header.scrolled .navbar {
  min-height: 82px;
}

.nav-shell {
  position: relative;
}

.brand-logo {
  width: 205px;
  height: auto;
  object-fit: contain;
  transition: width 0.25s ease;
}

.site-header.scrolled .brand-logo {
  width: 185px;
}

/* =========================================================
   Navbar Toggler
   ========================================================= */

.navbar-toggler {
  border: 0;
  padding: 10px;
  margin-left: auto;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 2px;
  background: #283145;
  margin: 5px 0;
  border-radius: 2px;
}

/* =========================================================
   Navigation Links
   ========================================================= */

.nav-link {
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.015em;
  color: #273044 !important;
  padding: 20px 14px !important;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.mega-link i {
  font-style: normal;
  font-size: 1rem;
  margin-left: 3px;
}

/* =========================================================
   Mega Menu
   ========================================================= */

.nav-item.mega-trigger {
  position: relative;
}

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  background: #fff;
  border: 1px solid rgba(49, 55, 78, 0.1);
  box-shadow: 0 24px 55px rgba(26, 30, 48, 0.16);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.mega-menu.show {
  display: flex;
}

.mega-list {
  width: 48%;
  padding: 8px 0;
  background: #fff;
  border-right: 1px solid var(--line);
}

.mega-preview {
  width: 52%;
  padding: 0;
  background: linear-gradient(
    145deg,
    #faf9fd,
    #f3f5fb
  );
}

/* =========================================================
   Mega Menu Items
   ========================================================= */

.mega-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  color: #31394b;
  transition: all 0.2s ease;
}

.mega-item:hover,
.mega-item.active {
  background: linear-gradient(
    90deg,
    var(--primary),
    #7a6aa4
  );
  color: #fff;
}

/* =========================================================
   Mega Sub Menu
   ========================================================= */

.mega-sub {
  display: none;
  height: 100%;
  min-height: 245px;
}

.mega-sub.active {
  display: block;
}

.mega-art {
  height: 74px;
  padding: 10px 18px 0;
  overflow: hidden;
}

.mega-art img {
  height: 68px;
  width: 90px;
  object-fit: contain;
  float: right;
  opacity: 0.88;
}

.mega-copy {
  padding: 0 20px 14px;
}

.mega-kicker {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 800;
  margin: 4px 0 8px;
}

.mega-sub a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #e6e4eb;
  font-weight: 700;
  font-size: 0.79rem;
  color: #42495b;
  line-height: 1.35;
}

.mega-sub a:hover {
  color: var(--primary);
}

.mega-sub a:last-child {
  border-bottom: 0;
}

/* =========================================================
   Compact Mega Menu
   ========================================================= */

.mega-compact {
  width: 500px;
}

.mega-compact .single-list {
  width: 56%;
  border-right: 1px solid var(--line);
}

.mega-direct {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #353d4d;
  border-bottom: 1px solid #eceaf0;
}

.mega-direct:hover {
  background: #f2eff9;
  color: var(--primary);
}

/* =========================================================
   Compact Mega Menu Side Artwork
   ========================================================= */

.mega-side-art {
  width: 44%;
  padding: 16px;
  background: linear-gradient(
    145deg,
    #f8f7fc,
    #eef2fb
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-side-art img {
  height: 82px;
  object-fit: contain;
  margin-bottom: 8px;
}

.mega-side-art strong {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #4a5162;
}

/* =========================================================
   Header Actions
   ========================================================= */

.header-actions {
  display: flex;
  gap: 10px;
  margin-left: 14px;
}

.nav-cta,
.nav-dashboard {
  padding: 13px 22px !important;
  min-width: 132px;
}

.nav-dashboard {
  min-width: 170px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: #202431;
  color: #e8e9ef;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.footer p,
.footer a {
  color: #b9c0cf;
}

.footer a:hover {
  color: #fff;
}

.footer-top {
  padding: 68px 0 42px;
}

.footer-logo {
  width: 185px;
  height: auto;
  filter: brightness(1.12);
}

.footer h6 {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 16px;
}

.footer ul {
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 9px;
}

/* =========================================================
   Newsletter
   ========================================================= */

.newsletter {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

/* =========================================================
   Footer Bottom
   ========================================================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.82rem;
}

.social-links a {
  font-weight: 700;
}

/* =========================================================
   Tablet / Small Desktop
   ========================================================= */

@media (max-width: 1199px) {
  .brand-logo {
    width: 175px;
  }

  .nav-link {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 0.8rem;
  }

  .nav-cta {
    min-width: auto;
  }

  .nav-dashboard {
    display: none;
  }
}

/* =========================================================
   Mobile / Tablet
   ========================================================= */

@media (max-width: 991px) {
  .site-header,
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(25, 31, 50, 0.07);
  }

  .navbar,
  .site-header.scrolled .navbar {
    min-height: 76px;
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    width: 160px;
  }

  /* Mobile Navigation */

  .navbar-collapse {
    background: #fff;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 10px 0 18px;
  }

  .nav-link {
    padding: 11px 18px !important;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  /* Mobile Mega Menus */

  .mega-menu,
  .mega-compact {
    position: static;
    transform: none;
    width: calc(100% - 24px);
    margin: 0 12px 8px;
    border-radius: 14px;
    box-shadow: none;
  }

  .mega-menu.show {
    display: block;
  }

  .mega-list,
  .mega-compact .single-list {
    width: 100%;
    border: 0;
  }

  .mega-preview,
  .mega-side-art {
    display: none;
  }

  .mega-item {
    padding: 13px 16px;
  }

  /* Header Actions */

  .header-actions {
    margin: 12px 18px 0;
  }

  .nav-dashboard {
    display: block;
  }

  /* Footer */

  .footer-top {
    padding-top: 50px;
  }
}


.nwspl-page-loader{position:fixed;inset:0;z-index:99999;background:#fff;display:grid;place-items:center;transition:opacity .55s ease,visibility .55s ease}
.nwspl-page-loader.loaded{opacity:0;visibility:hidden}
.nwspl-loader-inner{text-align:center}.nwspl-loader-logo{width:95px;height:auto;display:block;margin:0 auto 18px}.nwspl-loader-line{width:130px;height:3px;border-radius:5px;background:#ece8f6;overflow:hidden}.nwspl-loader-line i{display:block;width:45%;height:100%;background:linear-gradient(90deg,#60479c,#e1b331);animation:nwsplLoad 1.05s ease-in-out infinite}
@keyframes nwsplLoad{0%{transform:translateX(-110%)}100%{transform:translateX(290%)}}



/* =========================================================
   FINAL FOOTER + RESPONSIVE POLISH
   Header layout intentionally preserved from the original site.
   ========================================================= */

/* Footer side spacing */
.footer-top {
  padding-left: clamp(18px, 4vw, 52px);
  padding-right: clamp(18px, 4vw, 52px);
}

.footer-bottom {
  padding-left: clamp(18px, 4vw, 52px);
  padding-right: clamp(18px, 4vw, 52px);
}

/* Social icons now live below the newsletter */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: #d9cff3;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.footer-socials a:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-socials .footer-whatsapp:hover {
  color: #fff;
  background: #20b85a;
}

/* WhatsApp header button: text only, single line */
.nav-whatsapp {
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* Keep copyright and policy links in one row on desktop.
   Copyright remains centered, policy stays right. */
.footer-bottom .container {
  position: relative;
  min-height: 58px;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
}
.footer-bottom .container > span:first-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.footer-bottom .container > span:last-child {
  margin-left: auto;
  white-space: nowrap;
}

/* General overflow protection */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img, svg, iframe, video {
  max-width: 100%;
}

/* Tablet */
@media (max-width: 991.98px) {
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-actions {
    width: 100%;
    margin-top: 12px;
  }

  .nav-whatsapp {
    white-space: nowrap !important;
  }

  .footer-top {
    padding-top: 52px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Mobile header CTA inside collapsed menu stays readable */
  .header-actions {
    margin-left: 0;
    margin-right: 0;
    gap: 8px;
  }

  .nav-cta,
  .nav-whatsapp {
    width: 100%;
    min-height: 44px;
    white-space: nowrap !important;
    text-align: center;
  }

  .footer-top {
    padding: 46px 16px 36px;
  }

  .footer-top .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
  }

  .footer-logo {
    max-width: 190px;
  }

  .footer-socials {
    margin-top: 18px;
    gap: 9px;
  }

  .footer-socials a {
    width: 40px;
    height: 40px;
  }

  .newsletter {
    width: 100%;
  }

  .newsletter .input-group {
    flex-wrap: nowrap;
  }

  .newsletter .form-control {
    min-width: 0;
  }

  .newsletter .btn {
    white-space: nowrap;
  }

  .footer-bottom {
    padding: 0 16px;
  }

  .footer-bottom .container {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px 18px !important;
    text-align: center;
  }

  .footer-bottom .container > span:first-child {
    position: static;
    transform: none;
    white-space: nowrap;
    width: 100%;
    order: 1;
  }

  .footer-bottom .container > span:last-child {
    margin-left: 0;
    white-space: normal;
    width: 100%;
    order: 2;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .navbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-whatsapp {
    font-size: .78rem !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer-top {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-bottom {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-bottom .container > span:first-child {
    font-size: .78rem;
  }

  .footer-bottom .container > span:last-child {
    font-size: .75rem;
  }
}


/* =========================================================
   NWSPL FINAL HEADER + FOOTER UI
   ========================================================= */

.site-header .navbar {
  position: relative;
  z-index: 1050;
}

.site-header .nav-shell {
  min-height: 78px;
}

.site-header .brand-logo {
  width: 176px;
  height: 62px;
  object-fit: contain;
}

.site-header .nav-link {
  white-space: nowrap;
  font-size: .78rem;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.site-header .header-actions .btn {
  min-height: 46px;
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.site-header .nav-cta {
  padding: 0 19px !important;
}

.site-header .nav-whatsapp {
  padding: 0 19px !important;
  gap: 8px;
  min-width: 185px;
  background: linear-gradient(135deg,#62528f,#715fa0) !important;
}

.site-header .nav-whatsapp-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: currentColor;
}

.site-header .nav-whatsapp span {
  white-space: nowrap !important;
}

.footer-top {
  padding-top: 64px;
  padding-bottom: 54px;
  padding-left: clamp(22px, 4vw, 58px);
  padding-right: clamp(22px, 4vw, 58px);
}

.footer-contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.footer-contact-item {
  display: grid !important;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  text-decoration: none !important;
}

.footer-contact-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08) !important;
  color: #d9cff3 !important;
  font-size: 15px;
}

.footer-contact-item small {
  font-size: .68rem !important;
  line-height: 1.2;
  color: #8e95a9 !important;
}

.footer-contact-item strong {
  font-size: .82rem !important;
  line-height: 1.35;
  color: #f0f1f5 !important;
  font-weight: 700 !important;
}

.footer-socials {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 18px !important;
}

.footer-socials a {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  padding: 0 !important;
}

.footer-bottom {
  padding: 0 clamp(18px, 4vw, 58px);
}

.footer-bottom .container {
  min-height: 62px;
  padding: 0;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
}

.footer-bottom .container > span:first-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.footer-bottom .container > span:last-child {
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .site-header .nav-link {
    font-size: .72rem;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .site-header .nav-cta,
  .site-header .nav-whatsapp {
    padding-left: 13px !important;
    padding-right: 13px !important;
    font-size: .76rem !important;
  }

  .site-header .nav-whatsapp {
    min-width: 170px;
  }
}

@media (max-width: 991.98px) {
  .site-header .nav-shell {
    min-height: 72px;
  }

  .site-header .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
    margin: 12px 0 0;
  }

  .site-header .header-actions .btn {
    width: 100%;
  }

  .site-header .nav-whatsapp {
    min-width: 0;
  }

  .footer-top {
    padding: 48px 22px 40px;
  }

  .footer-contact-item {
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .site-header .header-actions {
    grid-template-columns: 1fr;
  }

  .site-header .header-actions .btn {
    min-height: 46px;
    font-size: .78rem !important;
  }

  .site-header .nav-whatsapp {
    min-width: 0;
  }

  .footer-top {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    padding: 0 12px;
  }

  .footer-bottom .container {
    min-height: auto;
    padding: 15px 0;
    flex-direction: column !important;
    gap: 7px !important;
    text-align: center;
  }

  .footer-bottom .container > span:first-child {
    position: static;
    transform: none;
    order: 1;
    width: 100%;
    white-space: normal;
  }

  .footer-bottom .container > span:last-child {
    order: 2;
    margin-left: 0;
    white-space: normal;
  }
}

/* =========================================================
   Service-page lead form in the hero/header area
   ========================================================= */
.service-hero-form {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(98,82,143,.12);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 22px 60px rgba(48,37,77,.12);
}

.service-hero-form h3 {
  font-size: 1.25rem;
  margin: 0 0 5px;
  color: #181c2e;
}

.service-hero-form p {
  font-size: .82rem;
  margin: 0 0 15px;
  color: #6c6b7b;
}

.service-hero-form .form-control,
.service-hero-form .form-select {
  min-height: 44px;
  font-size: .82rem;
  border-radius: 10px;
}

.service-hero-form textarea {
  min-height: 82px !important;
}

.service-hero-form .btn {
  width: 100%;
  min-height: 44px;
}

.service-form-note {
  margin-top: 9px !important;
  margin-bottom: 0 !important;
  font-size: .68rem !important;
  color: #858392 !important;
}

@media (max-width: 991.98px) {
  .service-hero-form {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .service-hero-form {
    padding: 18px;
    border-radius: 18px;
  }
}


/* =========================================================
   FINAL VISUAL POLISH
   ========================================================= */

/* Header typography: slightly larger, while keeping the existing layout */
.site-header .nav-link {
  font-size: .86rem !important;
  font-weight: 700;
  letter-spacing: .005em;
}
.site-header .nav-cta,
.site-header .nav-whatsapp {
  font-size: .84rem !important;
  font-weight: 700;
}
@media (max-width: 1280px) {
  .site-header .nav-link {
    font-size: .80rem !important;
  }
  .site-header .nav-cta,
  .site-header .nav-whatsapp {
    font-size: .78rem !important;
  }
}

/* Footer contact details: label and value are vertically structured */
.footer-contact-item > span:last-child {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
}
.footer-contact-item small {
  display: block;
  margin: 0 !important;
}
.footer-contact-item strong {
  display: block;
  margin: 0 !important;
  word-break: break-word;
}
.footer-contact-item {
  column-gap: 12px !important;
}

/* Newsletter + social icons: compact and aligned like the reference footer */
.footer-socials {
  margin-top: 14px !important;
  gap: 8px !important;
}
.footer-socials a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
}
.footer-socials svg {
  width: 15px !important;
  height: 15px !important;
}

/* Back-to-top button */
.floating-top {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  padding: 0 !important;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  line-height: 0 !important;
  font-size: 0 !important;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(48,37,77,.18);
  z-index: 1090;
}
.floating-top svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-top:hover {
  transform: translateY(-2px);
}
@media (max-width: 575.98px) {
  .floating-top {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }
  .floating-top svg {
    width: 17px;
    height: 17px;
  }
}

/* Keep footer columns balanced and close to the reference */
.footer-top > .container > .row {
  align-items: flex-start;
}
.footer-top .col-lg-4 {
  min-width: 0;
}
.newsletter {
  width: 100%;
}

/* Prevent the footer from collapsing into one long horizontal text line */
@media (max-width: 767.98px) {
  .footer-contact-item {
    width: 100%;
  }
  .footer-contact-item > span:last-child {
    overflow: hidden;
  }
}

/* =========================================================
   Contact-page social section: smaller, premium UI
   ========================================================= */
.contact-social-card {
  padding: 30px 34px !important;
  border-radius: 24px !important;
}
.contact-social-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.contact-social-links {
  width: min(100%, 470px) !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 9px !important;
}
.contact-social-links a {
  min-height: 44px !important;
  padding: 7px 10px !important;
  justify-content: flex-start !important;
  font-size: .78rem !important;
  border-radius: 11px !important;
}
.contact-social-links .social-icon {
  width: 24px !important;
  height: 24px !important;
  flex-basis: 24px !important;
  border-radius: 7px !important;
}
.contact-social-links .social-icon svg {
  width: 13px !important;
  height: 13px !important;
}
@media (max-width: 575.98px) {
  .contact-social-card {
    padding: 24px 18px !important;
  }
  .contact-social-links {
    width: 100% !important;
  }
}


/* FINAL UX PASS */
.mobile-nav-close{display:none}
@media(max-width:991.98px){
  .navbar-collapse{
    position:fixed!important;top:76px;left:10px;right:10px;z-index:2050;
    display:none!important;max-height:calc(100vh - 88px)!important;overflow-y:auto!important;
    border-radius:0 0 18px 18px!important;box-shadow:0 22px 55px rgba(24,20,38,.18)!important;
    padding:54px 12px 18px!important;background:#fff!important
  }
  .navbar-collapse.show{display:block!important}
  .mobile-nav-close{
    display:grid;position:absolute;top:10px;right:12px;z-index:5;width:38px;height:38px;
    place-items:center;border:0;border-radius:50%;background:#62528f;color:#fff;
    font-size:27px;line-height:1;cursor:pointer
  }
  .navbar-toggler{cursor:pointer!important;z-index:2060}
  .navbar-toggler.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .navbar-toggler.is-open span:nth-child(2){opacity:0}
  .navbar-toggler.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  body.mobile-nav-open{overflow:hidden}
  .mega-trigger .mega-menu{display:none!important}
}

/* Flush-right contact rail */
.nwspl-contact-rail{
  position:fixed!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;
  z-index:3000!important;width:58px;padding:5px 0!important;display:flex;flex-direction:column;
  align-items:center;gap:5px;background:rgba(255,255,255,.98);border:1px solid rgba(98,82,143,.12);
  border-right:0;border-radius:18px 0 0 18px;box-shadow:0 12px 35px rgba(31,25,52,.15)
}
.nwspl-contact-rail a{
  width:42px;height:42px;padding:0!important;margin:0!important;display:grid;place-items:center;
  border-radius:11px;text-decoration:none!important;color:#62528f;background:#f4f0fa;transition:.22s ease
}
.nwspl-contact-rail a:hover{color:#fff;background:#62528f;transform:translateX(-3px)}
.nwspl-contact-rail svg{width:18px;height:18px;fill:currentColor}
.nwspl-contact-rail .rail-label{
  height:112px;writing-mode:vertical-rl;transform:rotate(180deg);background:#62528f;color:#fff;
  font-size:.72rem;font-weight:800;letter-spacing:.04em
}
.nwspl-contact-rail .rail-label:hover{transform:rotate(180deg);background:#47366f}
.nwspl-contact-rail .rail-whatsapp{color:#fff;background:#1fbe63}
.nwspl-contact-rail .rail-whatsapp:hover{background:#159d50}
@media(max-width:991.98px){.nwspl-contact-rail{display:none!important}}

/* Footer replacement content */
.footer-value-block{margin-top:26px;max-width:540px}
.footer-value-eyebrow{display:block;margin-bottom:13px;color:#a7adbf;font-size:.68rem;font-weight:800;letter-spacing:.11em}
.footer-value-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px}
.footer-value-grid>div{display:grid;gap:4px;padding:11px 0;border-top:1px solid rgba(255,255,255,.08)}
.footer-value-grid b{color:#f4f5f8;font-size:.84rem}
.footer-value-grid span{color:#9ea6bb;font-size:.72rem;line-height:1.5}
.footer-lower-links{display:inline-flex;align-items:center;gap:16px}
.footer-lower-links a{white-space:nowrap}
@media(max-width:575.98px){
  .footer-value-grid{grid-template-columns:1fr}
  .footer-lower-links{flex-wrap:wrap;justify-content:center;gap:7px 14px}
}

/* 30-second enquiry popup */
.nwspl-enquiry-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:18px}
.nwspl-enquiry-modal.is-open{display:flex}
.nwspl-enquiry-backdrop{position:absolute;inset:0;background:rgba(20,16,34,.66);backdrop-filter:blur(5px)}
.nwspl-enquiry-dialog{
  position:relative;z-index:1;width:min(900px,100%);max-height:calc(100vh - 36px);
  display:grid;grid-template-columns:1fr 1fr;border-radius:24px;overflow:auto;background:#fff;
  box-shadow:0 30px 100px rgba(18,14,30,.3)
}
.nwspl-enquiry-copy{padding:42px;color:#fff;background:linear-gradient(145deg,#62528f,#46356f)}
.nwspl-enquiry-copy h2{color:#fff;font-size:clamp(2rem,4vw,3rem)}
.nwspl-enquiry-copy p{color:rgba(255,255,255,.78);line-height:1.7}
.nwspl-popup-points{display:grid;gap:9px;margin-top:24px;font-size:.8rem;color:rgba(255,255,255,.9)}
.nwspl-enquiry-close{
  position:absolute;right:12px;top:12px;z-index:3;width:38px;height:38px;border:0;border-radius:50%;
  background:#fff;color:#46356f;font-size:25px;line-height:1;cursor:pointer
}
.nwspl-popup-form{display:grid;gap:11px;align-content:center;padding:38px}
.nwspl-popup-form input,.nwspl-popup-form select,.nwspl-popup-form textarea{
  width:100%;border:1px solid #ddd8e8;border-radius:11px;padding:12px 13px;font:inherit;outline:none
}
.nwspl-popup-form input:focus,.nwspl-popup-form select:focus,.nwspl-popup-form textarea:focus{
  border-color:#62528f;box-shadow:0 0 0 3px rgba(98,82,143,.10)
}
.nwspl-popup-form small{text-align:center;color:#8a8597;font-size:.7rem}
@media(max-width:767.98px){
  .nwspl-enquiry-modal{padding:10px}
  .nwspl-enquiry-dialog{grid-template-columns:1fr;max-height:calc(100vh - 20px);border-radius:20px}
  .nwspl-enquiry-copy{padding:28px 24px 20px}
  .nwspl-enquiry-copy h2{font-size:1.8rem}
  .nwspl-popup-form{padding:24px}
}
a[href],button,select,input,textarea{cursor:pointer;-webkit-tap-highlight-color:transparent}


/* =========================================================
   FINAL STABILITY FIXES
   ========================================================= */
html, body { min-height: 100%; }
body { overflow-x: hidden; }
main { position: relative; z-index: 0; }
.site-header { isolation: isolate; }
.footer { clear: both; width: 100%; overflow: hidden; }
.footer-top { position: relative; }
.footer-top > .row { align-items: flex-start; }
.footer-top .col-lg-4,
.footer-top .col-lg-2 { min-width: 0; }
.footer-value-block { width: 100%; }
.footer-value-grid { width: 100%; }
.footer-bottom { width: 100%; }
.nwspl-contact-rail, .nwspl-enquiry-modal { contain: layout paint; }
/* Never allow decorative SVGs to become page-sized when a surrounding rule changes. */
.footer svg, .nwspl-contact-rail svg, .footer-socials svg { width: auto; height: auto; max-width: none; }
.nwspl-contact-rail svg, .footer-socials svg { width: 18px; height: 18px; }
@media (max-width: 767.98px) {
  .footer-top > .row { align-items: stretch; }
}

/* NWSPL FINAL: contact rail */
.nwspl-contact-rail{right:0!important;margin-right:0!important;padding-right:0!important}
@media(max-width:991.98px){.nwspl-contact-rail{display:none!important}}
