/* =====================================================
   NEXORA — Premium Bootstrap 5 Business Theme
   Custom Design System (overrides + extensions)
   ===================================================== */

:root {
  /* Color system */
  --n-primary: #155EEF;
  --n-primary-dark: #0E3FB0;
  --n-secondary: #6941C6;
  --n-navy: #0B1437;
  --n-success: #12B76A;
  --n-slate: #667085;
  --n-slate-light: #98A2B3;
  --n-bg: #F7F9FC;
  --n-bg-alt: #EEF2FF;
  --n-border: #E4E7EC;
  --n-white: #FFFFFF;

  /* Gradients */
  --n-gradient-primary: linear-gradient(135deg, #155EEF 0%, #6941C6 100%);
  --n-gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #F4F0FF 100%);
  --n-gradient-dark: linear-gradient(135deg, #0B1437 0%, #1A2456 100%);

  /* Typography */
  --n-font-display: 'Sora', sans-serif;
  --n-font-body: 'Inter', sans-serif;

  /* Spacing rhythm (8px base) */
  --n-space-xs: 0.5rem;
  --n-space-sm: 1rem;
  --n-space-md: 1.5rem;
  --n-space-lg: 2.5rem;
  --n-space-xl: 4rem;
  --n-space-2xl: 6rem;

  /* Radius */
  --n-radius-sm: 8px;
  --n-radius-md: 14px;
  --n-radius-lg: 20px;
  --n-radius-pill: 100px;

  /* Shadows */
  --n-shadow-sm: 0 2px 8px rgba(11, 20, 55, 0.06);
  --n-shadow-md: 0 8px 24px rgba(11, 20, 55, 0.08);
  --n-shadow-lg: 0 20px 48px rgba(11, 20, 55, 0.12);
  --n-shadow-primary: 0 12px 28px rgba(21, 94, 239, 0.25);

  /* Bootstrap overrides */
  --bs-primary: #155EEF;
  --bs-primary-rgb: 21, 94, 239;
  --bs-body-font-family: var(--n-font-body);
  --bs-body-color: var(--n-slate);
  --bs-body-bg: var(--n-white);
}

/* =====================================================
   BASE
   ===================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--n-font-body);
  color: var(--n-slate);
  background-color: var(--n-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--n-font-display);
  color: var(--n-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

p { line-height: 1.7; }

a { text-decoration: none; }

.text-primary-custom { color: var(--n-primary) !important; }
.text-slate { color: var(--n-slate) !important; }
.text-navy { color: var(--n-navy) !important; }
.bg-soft { background-color: var(--n-bg) !important; }
.bg-soft-alt { background: var(--n-gradient-soft) !important; }
.bg-navy { background-color: var(--n-navy) !important; }
.bg-gradient-primary { background: var(--n-gradient-primary) !important; }
.bg-gradient-dark { background: var(--n-gradient-dark) !important; }

/* Section spacing rhythm */
.section { padding-top: var(--n-space-2xl); padding-bottom: var(--n-space-2xl); }
.section-sm { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }

@media (max-width: 767.98px) {
  .section { padding-top: var(--n-space-xl); padding-bottom: var(--n-space-xl); }
  .section-sm { padding-top: var(--n-space-lg); padding-bottom: var(--n-space-lg); }
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: var(--n-space-sm);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--n-primary);
  display: inline-block;
}

.section-title { margin-bottom: var(--n-space-sm); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--n-slate);
  max-width: 620px;
}
.section-header { margin-bottom: var(--n-space-xl); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  font-family: var(--n-font-display);
  font-weight: 600;
  border-radius: var(--n-radius-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border-width: 1.5px;
}

.btn-primary {
  background: var(--n-gradient-primary);
  border: none;
  box-shadow: var(--n-shadow-primary);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 94, 239, 0.32);
  color: #fff;
}

.btn-outline-primary {
  border-color: var(--n-primary);
  color: var(--n-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--n-primary);
  border-color: var(--n-primary);
  transform: translateY(-2px);
}

.btn-light-custom {
  background: #fff;
  color: var(--n-navy);
  border: 1.5px solid var(--n-border);
}

.btn-light-custom:hover {
  background: var(--n-bg);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg-custom { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm-custom { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-nexora {
  padding: 1.25rem 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.0);
}

.navbar-nexora.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--n-shadow-sm);
}

.navbar-brand-custom {
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--n-navy) !important;
  letter-spacing: -0.02em;
}

.navbar-brand-custom span { color: var(--n-primary); }

.navbar-nexora .nav-link {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(152, 119, 119) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--n-radius-sm);
  transition: all 0.2s ease;
}

.nav2{
  color: yellow !important;;
}
.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active {
  color: rgb(15, 15, 64) !important;
  background: var(--n-bg-alt);
}

.navbar-toggler-custom {
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--n-radius-sm);
  background: var(--n-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  padding: 0;
}

.navbar-toggler-custom .bar {
  width: 20px;
  height: 2px;
  background: var(--n-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-custom.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggler-custom.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggler-custom.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: var(--n-gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105,65,198,0.14) 0%, rgba(21,94,239,0.06) 60%, transparent 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.10) 0%, transparent 70%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero h1 { font-size: 3.25rem; line-height: 1.15; }

@media (max-width: 991.98px) {
  .hero { padding-top: 7rem; text-align: center; }
  .hero h1 { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
}

/* Hero visual / dashboard mock card */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-mock-card {
  background: #fff;
  border-radius: var(--n-radius-lg);
  box-shadow: var(--n-shadow-lg);
  padding: var(--n-space-md);
  border: 1px solid var(--n-border);
  position: relative;
}

.hero-mock-card .mock-bar {
  height: 10px;
  border-radius: var(--n-radius-pill);
  background: var(--n-bg-alt);
  margin-bottom: 0.75rem;
}

.hero-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-navy);
  z-index: 3;
}

.hero-float-badge.badge-1 { top: -1.5rem; left: -1.5rem; }
.hero-float-badge.badge-2 { bottom: -1.5rem; right: -1.5rem; }

.hero-float-badge .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .hero-float-badge { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .hero-float-badge.badge-1 { top: -1rem; left: -0.5rem; }
  .hero-float-badge.badge-2 { bottom: -1rem; right: -0.5rem; }
}

/* Stats strip */
.stats-strip {
  border-top: 1px solid var(--n-border);
  border-bottom: 1px solid var(--n-border);
}

.stat-item .stat-number {
  font-family: var(--n-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--n-navy);
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--n-slate);
  font-weight: 500;
}

/* =====================================================
   ICON BOXES
   ===================================================== */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--n-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-box-primary { background: var(--n-bg-alt); color: var(--n-primary); }
.icon-box-secondary { background: #F4F0FF; color: var(--n-secondary); }
.icon-box-success { background: #E7F9F0; color: var(--n-success); }

.icon-box-lg { width: 72px; height: 72px; font-size: 2rem; border-radius: var(--n-radius-md); }

.icon-box-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* =====================================================
   CARDS — premium card system
   ===================================================== */
.card-premium {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  padding: var(--n-space-lg);
  height: 100%;
}

.card-premium:hover {
  box-shadow: var(--n-shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.card-premium .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-link-arrow {
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--n-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.card-link-arrow:hover { gap: 0.7rem; color: var(--n-primary-dark); }

/* Pricing card */
.pricing-card {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-lg);
  box-shadow: var(--n-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.pricing-card:hover { box-shadow: var(--n-shadow-md); transform: translateY(-6px); }

.pricing-card.featured {
  background: var(--n-gradient-dark);
  border: none;
  color: #fff;
  box-shadow: var(--n-shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured .price, .pricing-card.featured h3 { color: #fff; }
.pricing-card.featured .text-slate { color: rgba(255,255,255,0.65) !important; }
.pricing-card.featured ul li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .pricing-divider { border-color: rgba(255,255,255,0.12); }

@media (max-width: 991.98px) {
  .pricing-card.featured { transform: none; }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--n-gradient-primary);
  color: #fff;
  font-family: var(--n-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--n-radius-pill);
  letter-spacing: 0.05em;
}

.price {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--n-navy);
}

.price-period { font-size: 1rem; font-weight: 500; color: var(--n-slate); }

.pricing-divider { border-color: var(--n-border); margin: var(--n-space-md) 0; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--n-slate);
}

.feature-list li i { color: var(--n-success); margin-top: 0.2rem; flex-shrink: 0; }
.feature-list li.disabled { opacity: 0.45; }
.feature-list li.disabled i { color: var(--n-slate-light); }

/* Blog cards */
.blog-card-img {
  border-radius: var(--n-radius-md) var(--n-radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-img img { transition: transform 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.card-premium:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: var(--n-space-md) var(--n-space-md) 0; }

.tag-pill {
  display: inline-block;
  font-family: var(--n-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n-primary);
  background: var(--n-bg-alt);
  padding: 0.3rem 0.8rem;
  border-radius: var(--n-radius-pill);
  margin-bottom: 0.75rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--n-slate-light);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--n-border);
}

/* Portfolio card */
.portfolio-card {
  position: relative;
  border-radius: var(--n-radius-md);
  overflow: hidden;
  box-shadow: var(--n-shadow-sm);
  aspect-ratio: 4/3;
}

.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,20,55,0) 30%, rgba(11,20,55,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--n-space-md);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover img { transform: scale(1.08); }

.portfolio-overlay h5 { color: #fff; margin-bottom: 0.25rem; }
.portfolio-overlay span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: var(--n-radius-md);
  box-shadow: var(--n-shadow-sm);
  border: 1px solid var(--n-border);
  padding: var(--n-space-lg);
  height: 100%;
}

.testimonial-card .stars { color: #FFB400; letter-spacing: 0.15em; font-size: 0.9rem; margin-bottom: 1rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: var(--n-space-md);
}

.testimonial-author img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

.testimonial-author .name { font-family: var(--n-font-display); font-weight: 700; color: var(--n-navy); font-size: 0.95rem; }
.testimonial-author .role { font-size: 0.8rem; color: var(--n-slate-light); }

/* Process steps (numbered — real sequence) */
.process-step {
  position: relative;
  padding-left: 0;
}

.process-number {
  font-family: var(--n-font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--n-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* Logo cloud */
.logo-cloud-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--n-font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--n-slate-light);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.logo-cloud-item:hover { opacity: 1; color: var(--n-navy); }

/* =====================================================
   FORMS
   ===================================================== */
.form-control,
.form-select {
  border: 1.5px solid var(--n-border);
  border-radius: var(--n-radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background-color: var(--n-bg);
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--n-primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.1);
  background-color: #fff;
}

.form-label {
  font-family: var(--n-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--n-navy);
  margin-bottom: 0.5rem;
}

.form-control.is-invalid, .form-select.is-invalid { border-color: #DC3545; }
.form-control.is-valid, .form-select.is-valid { border-color: var(--n-success); }

/* Newsletter / CTA section */
.cta-section {
  background: var(--n-gradient-dark);
  border-radius: var(--n-radius-lg);
  padding: var(--n-space-2xl) var(--n-space-lg);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.25) 0%, transparent 70%);
}

.cta-section h2, .cta-section p { color: #fff; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,0.7); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer-nexora {
  background: var(--n-navy);
  color: rgba(255,255,255,0.65);
  padding-top: var(--n-space-2xl);
}

.footer-nexora h6 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--n-space-md);
}

.footer-nexora a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--n-space-xl);
  padding: var(--n-space-md) 0;
  font-size: 0.85rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  transition: all 0.2s ease;
  margin-bottom: 0 !important;
}

.social-icon:hover { background: var(--n-primary); transform: translateY(-3px); }

/* =====================================================
   PAGE HEADER (sub-pages)
   ===================================================== */
.page-header {
  background: var(--n-gradient-dark);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,94,239,0.25) 0%, transparent 70%);
}

.page-header h1 { color: #fff; }

.breadcrumb-custom {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.breadcrumb-custom a { color: rgba(255,255,255,0.6); }
.breadcrumb-custom a:hover { color: #fff; }
.breadcrumb-custom .active { color: var(--n-primary); }

/* =====================================================
   SCROLL REVEAL (lightweight)
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-premium:hover, .pricing-card:hover, .btn:hover, .portfolio-card img { transform: none; }
}

/* =====================================================
   MISC UTILITIES
   ===================================================== */
.divider-line { height: 1px; background: var(--n-border); border: none; }

.rounded-img { border-radius: var(--n-radius-lg); }

.badge-soft {
  background: var(--n-bg-alt);
  color: var(--n-primary);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--n-radius-pill);
  font-size: 0.8rem;
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.list-check li i {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Author / sidebar widgets (blog details) */
.widget {
  background: #fff;
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-md);
  padding: var(--n-space-md);
  margin-bottom: var(--n-space-md);
}

.widget h5 { font-size: 1rem; margin-bottom: var(--n-space-sm); }

.widget-link-list { list-style: none; padding: 0; margin: 0; }
.widget-link-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--n-border);
  font-size: 0.9rem;
  color: var(--n-navy);
  font-weight: 500;
}
.widget-link-list li:last-child { border-bottom: none; }
.widget-link-list li span { color: var(--n-slate-light); font-weight: 400; }

/* FAQ accordion custom */
.accordion-custom .accordion-item {
  border: 1px solid var(--n-border);
  border-radius: var(--n-radius-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  font-family: var(--n-font-display);
  font-weight: 700;
  color: var(--n-navy);
  background: #fff;
  padding: 1.25rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--n-primary);
  background: var(--n-bg-alt);
  box-shadow: none;
}

.accordion-custom .accordion-button:focus { box-shadow: none; border-color: var(--n-border); }
.accordion-custom .accordion-body { padding: 1.25rem 1.5rem; color: var(--n-slate); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--n-gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--n-shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* Contact map placeholder */
.map-frame {
  border-radius: var(--n-radius-md);
  overflow: hidden;
  border: 1px solid var(--n-border);
  height: 50%;
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Service detail icon list */
.feature-grid-item {
  display: flex;
  gap: 1rem;
  padding: var(--n-space-md);
  background: var(--n-bg);
  border-radius: var(--n-radius-md);
  height: 100%;
}

/* =====================================================
   XALIX SOLUTIONS — SIMPLE PAKISTAN-FIRST HOMEPAGE
   ===================================================== */
:root{--x-green:#0c6b45;--x-green-light:#eaf7f0;--x-ink:#10251d;--x-muted:#5d6b65;}
.x-hero{padding:155px 0 105px;background:linear-gradient(180deg,#f5fbf8 0%,#fff 88%);position:relative;overflow:hidden;}
.x-hero-pattern{position:absolute;width:560px;height:560px;right:-220px;top:-190px;border-radius:50%;background:radial-gradient(circle,#dff3e8 0,rgba(223,243,232,0) 68%);}
.x-pak-badge{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #d9ebe1;color:#476157;border-radius:999px;padding:8px 13px;font-size:.82rem;font-weight:700;margin-bottom:22px;box-shadow:0 5px 20px rgba(12,107,69,.06);}
.x-pak-dot{width:9px;height:9px;border-radius:50%;background:#0c6b45;display:inline-block;box-shadow:0 0 0 4px #e5f4ec;}
.x-hero h1{font-family:var(--n-font-display);font-size:clamp(2.65rem,5vw,4.6rem);line-height:1.08;letter-spacing:-.045em;color:var(--x-ink);font-weight:800;max-width:650px;margin-bottom:22px;}
.x-green-text{color:var(--x-green);}
.x-hero-copy{font-size:1.12rem;line-height:1.75;color:var(--x-muted);max-width:610px;margin-bottom:30px;}
.x-hero-note{margin-top:22px;color:#66766e;font-size:.83rem;font-weight:600;}
.x-hero-note i{color:var(--x-green);margin-right:3px;}
.x-hero-visual{max-width:505px;background:#fff;border:1px solid #dcebe3;border-radius:24px;box-shadow:0 25px 70px rgba(21,61,45,.12);padding:12px;position:relative;transform:rotate(.3deg);}
.x-dashboard-top{height:43px;border-bottom:1px solid #edf2ef;display:flex;align-items:center;padding:0 9px;color:#607169;font-size:.75rem;font-weight:700;}
.x-dashboard-top .x-dots{display:flex;gap:5px;margin-right:auto;}.x-dashboard-top .x-dots i{width:7px;height:7px;border-radius:50%;background:#cad5d0;display:block;}.x-dashboard-top b{font-size:.7rem;color:var(--x-green);font-weight:700;margin-left:auto;}.x-dashboard-top b i{margin-right:3px;}
.x-dashboard-body{background:#f6faf8;border-radius:16px;padding:22px;margin-top:12px;}.x-welcome{font-size:1.1rem;color:#294038;margin-bottom:15px;}.x-welcome strong{color:var(--x-green);}.x-tool-card{background:#fff;border:1px solid #e2ece7;border-radius:13px;padding:14px;min-height:118px;transition:.2s;}.x-tool-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(12,107,69,.08);}.x-tool-icon{width:38px;height:38px;border-radius:10px;background:#e9f6ef;color:var(--x-green);display:flex;align-items:center;justify-content:center;font-size:1.05rem;margin-bottom:10px;}.x-tool-card strong{display:block;color:#20352d;font-size:.86rem;}.x-tool-card small{display:block;color:#7b8983;font-size:.72rem;margin-top:4px;}.x-dashboard-line{height:55px;background:#fff;border-radius:12px;margin-top:13px;padding:10px;display:flex;align-items:flex-end;gap:8px;}.x-dashboard-line span{flex:1;border-radius:4px 4px 0 0;background:#cce8d9;}.x-dashboard-line span:nth-child(1){height:30%;}.x-dashboard-line span:nth-child(2){height:48%;}.x-dashboard-line span:nth-child(3){height:42%;}.x-dashboard-line span:nth-child(4){height:70%;background:#79c49b;}.x-dashboard-line span:nth-child(5){height:55%;}.x-dashboard-line span:nth-child(6){height:82%;background:#3b9e6d;}.x-dashboard-line span:nth-child(7){height:68%;}
.x-pak-card{position:absolute;right:-20px;bottom:35px;background:#fff;border:1px solid #dcebe3;border-radius:13px;padding:11px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 12px 30px rgba(20,60,43,.12);}.x-pak-card>i{color:var(--x-green);font-size:1.2rem;}.x-pak-card strong{display:block;font-size:.78rem;color:#243b31;}.x-pak-card small{display:block;color:#7a8982;font-size:.66rem;margin-top:2px;}
.x-simple-box{display:flex;gap:17px;padding:25px;border:1px solid #dcebe3;background:#f7fbf9;border-radius:16px;}.x-simple-box>i{color:var(--x-green);font-size:1.7rem;}.x-simple-box strong{color:#20382e;font-size:1rem;}.x-simple-box p{font-size:.9rem;color:#6a7872;margin:6px 0 10px;line-height:1.6;}.x-simple-box a,.x-service-card a{font-size:.85rem;font-weight:700;color:var(--x-green);text-decoration:none;}.x-service-card{height:100%;}.x-service-card p{min-height:68px;}.x-service-card a i{margin-left:4px;transition:.2s;}.x-service-card a:hover i{margin-left:8px;}
.x-pak-section{background:#f3f9f6;}.x-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}.x-check-grid>div{background:#fff;border:1px solid #dcebe3;border-radius:15px;padding:22px;}.x-check-grid i{display:flex;width:34px;height:34px;border-radius:50%;background:#e6f5ed;color:var(--x-green);align-items:center;justify-content:center;margin-bottom:13px;font-size:1.1rem;}.x-check-grid strong{display:block;color:#243b31;font-size:.95rem;margin-bottom:5px;}.x-check-grid span{display:block;color:#718078;font-size:.78rem;line-height:1.5;}.x-step{height:100%;background:#fff;border:1px solid #e2ebe7;border-radius:16px;padding:28px;}.x-step>span{font-family:var(--n-font-display);font-size:2.4rem;font-weight:800;color:#b7d9c6;}.x-step h3{font-size:1.15rem;margin:15px 0 8px;color:#22372e;}.x-step p{color:#6c7973;margin:0;line-height:1.65;font-size:.9rem;}.x-cta{background:#f2f8f5;border:1px solid #dcebe3;border-radius:20px;padding:42px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px;}.x-cta h2{font-family:var(--n-font-display);font-size:2rem;color:#183228;margin:7px 0 3px;}.x-cta p{color:#66756e;margin:0;}
@media(max-width:991px){.x-hero{padding-top:130px;padding-bottom:75px;}.x-hero-visual{margin-top:15px;}.x-pak-card{right:5px;}.x-cta{flex-direction:column;align-items:flex-start;padding:34px;}}
@media(max-width:575px){.x-hero{padding-top:115px;}.x-hero h1{font-size:2.55rem;}.x-hero-copy{font-size:1rem;}.x-hero-note{line-height:2;}.x-pak-card{position:relative;right:auto;bottom:auto;margin:12px 2px 0;}.x-check-grid{grid-template-columns:1fr;}.x-cta{padding:28px 22px;}.x-cta h2{font-size:1.65rem;}}

/* Xalix contact section */
.x-contact-list{display:flex;flex-direction:column;gap:12px;margin-top:28px;max-width:500px}.x-contact-list>a,.x-contact-list>div{display:flex;align-items:center;gap:15px;padding:15px 17px;background:#fff;border:1px solid #dcebe3;border-radius:13px;text-decoration:none}.x-contact-list i{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#e9f6ef;color:var(--x-green);font-size:1rem;flex:0 0 40px}.x-contact-list strong,.x-contact-list span{display:block}.x-contact-list strong{color:#243b31;font-size:.88rem;margin-bottom:2px}.x-contact-list span{color:#6f7d76;font-size:.82rem}.x-contact-card{background:#fff;border:1px solid #dcebe3;border-radius:20px;padding:36px;box-shadow:0 15px 45px rgba(21,61,45,.07)}.x-contact-card h3{font-family:var(--n-font-display);font-size:1.7rem;color:#183228;margin:8px 0}.x-contact-card p{color:#68776f;line-height:1.65;margin:0}.x-contact-card .btn-primary{background:var(--x-green);border-color:var(--x-green)}


/* Xalix v4 refinements */
.process-section {
  background: #fff;
}
.process-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.process-card {
  position: relative;
  flex: 1 1 0;
  max-width: 340px;
  padding: 30px 28px 28px;
  background: #fff;
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(23,23,23,.06);
}
.process-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 13px;
  font-weight: 700;
  opacity: .35;
}
.process-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff4c7;
  color: #171717;
  font-size: 22px;
  margin-bottom: 22px;
}
.process-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.process-card p {
  color: #666;
  margin: 0;
  line-height: 1.7;
}
.process-connector {
  display: flex;
  align-items: center;
  color: #999;
  font-size: 20px;
}
.clients-section {
  background: #f8f8f6;
}
.client-count {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}
.client-count strong {
  font-family: var(--n-font-display);
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: var(--n-navy);
  letter-spacing: -0.04em;
}
.client-count span {
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}
.client-logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 20, 55, 0.06);
}
.client-logo {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 28px;
  background: #fff;
  border-right: 1px solid rgba(23,23,23,.07);
  border-bottom: 1px solid rgba(23,23,23,.07);
  transition: background .25s ease, box-shadow .25s ease;
}
.client-logo:nth-child(3n) { border-right: 0; }
.client-logo:nth-child(n+7) { border-bottom: 0; }
.client-logo img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .58;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.client-logo:hover {
  background: #fcfcfc;
  box-shadow: inset 0 0 0 1px rgba(21,94,239,.06);
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.035);
}
.client-logo-note {
  color: #8a919c;
  font-size: 12px;
  line-height: 1.6;
  margin: 14px 2px 0;
}
@media (max-width: 575.98px) {
  .client-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-logo {
    min-height: 92px;
    padding: 20px 15px;
  }
  .client-logo:nth-child(3n) { border-right: 1px solid rgba(23,23,23,.07); }
  .client-logo:nth-child(2n) { border-right: 0; }
  .client-logo:nth-child(n+7) { border-bottom: 1px solid rgba(23,23,23,.07); }
  .client-logo:nth-child(n+9) { border-bottom: 0; }
  .client-logo img {
    max-width: 112px;
    max-height: 38px;
  }
}
.start-modal {
  border: 0;
  border-radius: 22px;
  padding: 10px;
}
.start-modal .modal-title {
  font-size: 28px;
  line-height: 1.2;
  margin-top: 6px;
}
.start-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.start-contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(23,23,23,.08);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: .2s ease;
}
.start-contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23,23,23,.08);
}
.start-contact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff4c7;
}
.start-contact-item strong,
.start-contact-item small {
  display: block;
}
.start-contact-item strong {
  font-size: 14px;
}
.start-contact-item small {
  color: #777;
  margin-top: 3px;
  font-size: 12px;
}
@media (max-width: 991.98px) {
  .process-track {
    flex-direction: column;
  }
  .process-card {
    max-width: none;
  }
  .process-connector {
    justify-content: center;
    transform: rotate(90deg);
    height: 12px;
  }
}
@media (max-width: 575.98px) {
  .client-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .start-contact-grid {
    grid-template-columns: 1fr;
  }
  .start-modal .modal-title {
    font-size: 23px;
  }
}


/* Xalix v5 navigation + client showcase refinements */
.navbar-nexora .nav-link,
.navbar-nexora .nav-link.nav2 {
  color: #344054 !important;
}
.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active,
.navbar-nexora .nav-link.nav2:hover,
.navbar-nexora .nav-link.nav2.active {
  color: var(--n-navy) !important;
}

/* =====================================================
   XALIX BRAND SYSTEM — exact brand colors
   Primary Navy: #0f1521 | Accent Blue: #2176BC
   ===================================================== */
:root {
  --xalix-navy: #0f1521;
  --xalix-blue: #2176BC;
  --xalix-blue-dark: #245f99;
  --xalix-blue-light: #eaf3fb;
  --xalix-border: #dbe6f0;
  --n-primary: #2176BC;
  --n-primary-dark: #245f99;
  --n-secondary: #2176BC;
  --n-navy: #0f1521;
  --n-success: #2176BC;
  --n-bg: #f7f9fc;
  --n-bg-alt: #eaf3fb;
  --n-border: #dbe6f0;
  --n-gradient-primary: linear-gradient(135deg, #2176BC 0%, #245f99 100%);
  --n-gradient-soft: linear-gradient(135deg, #eaf3fb 0%, #f7f9fc 100%);
  --n-gradient-dark: linear-gradient(135deg, #0f1521 0%, #182234 100%);
  --n-shadow-primary: 0 12px 28px rgba(51, 136, 209, 0.25);
  --bs-primary: #2176BC;
  --bs-primary-rgb: 46, 118, 188;
  --x-green: #2176BC;
  --x-green-light: #eaf3fb;
  --x-ink: #0f1521;
  --x-muted: #5f6b7a;
}

/* Exact brand color overrides for older theme rules. */
.text-primary-custom { color: #2176BC !important; }
.bg-navy { background-color: #0f1521 !important; }
.bg-gradient-primary { background: linear-gradient(135deg, #2176BC 0%, #245f99 100%) !important; }
.bg-gradient-dark { background: linear-gradient(135deg, #0f1521 0%, #182234 100%) !important; }
.btn-primary { background: #2176BC !important; border-color: #2176BC !important; box-shadow: 0 12px 28px rgba(51,136,209,.22) !important; }
.btn-primary:hover, .btn-primary:focus { background: #245f99 !important; border-color: #245f99 !important; }
.btn-outline-primary { color: #2176BC !important; border-color: #2176BC !important; }
.btn-outline-primary:hover { background: #2176BC !important; border-color: #2176BC !important; }
.icon-box-primary { background: #eaf3fb !important; color: #2176BC !important; }
.icon-box-secondary { background: #eaf3fb !important; color: #2176BC !important; }
.icon-box-success { background: #eaf3fb !important; color: #2176BC !important; }

/* Xalix logo in navigation */
.navbar-brand-custom { display: inline-flex; align-items: center; }
.navbar-brand-custom img { display: block; width: 150px; height: auto; max-height: 52px; object-fit: contain; }
.navbar-nexora .nav-link:hover,
.navbar-nexora .nav-link.active,
.navbar-nexora .nav-link.nav2:hover,
.navbar-nexora .nav-link.nav2.active { color: #2176BC !important; background: #eaf3fb !important; }
.navbar-nexora .navbar-toggler-custom { border-color: #dbe6f0; }
.navbar-nexora .navbar-toggler-custom .bar { background: #0f1521; }

/* Xalix homepage section palette */
.x-hero { background: linear-gradient(180deg, #f4f8fc 0%, #fff 88%); }
.x-hero-pattern { background: radial-gradient(circle, #dcecf9 0, rgba(220,236,249,0) 68%); }
.x-pak-badge { border-color: #dbe6f0; color: #536274; box-shadow: 0 5px 20px rgba(15,21,33,.05); }
.x-pak-dot { background: #2176BC; box-shadow: 0 0 0 4px #eaf3fb; }
.x-green-text, .x-hero-note i, .x-dashboard-top b, .x-welcome strong,
.x-pak-card > i, .x-simple-box > i, .x-simple-box a, .x-service-card a,
.x-contact-list i, .x-contact-card .btn-primary { color: #2176BC; }
.x-hero-visual { border-color: #dbe6f0; box-shadow: 0 25px 70px rgba(15,21,33,.10); }
.x-dashboard-body { background: #f5f8fb; }
.x-tool-card { border-color: #dbe6f0; }
.x-tool-icon { background: #eaf3fb; color: #2176BC; }
.x-dashboard-line span { background: #c8dff2; }
.x-dashboard-line span:nth-child(4) { background: #78acd4; }
.x-dashboard-line span:nth-child(6) { background: #2176BC; }
.x-pak-card, .x-simple-box, .x-check-grid > div, .x-contact-list > a, .x-contact-list > div,
.x-contact-card { border-color: #dbe6f0; }
.x-pak-section { background: #f4f8fc; }
.x-check-grid i { background: #eaf3fb; color: #2176BC; }
.x-step > span { color: #a9cbe8; }
.x-cta { background: #f4f8fc; border-color: #dbe6f0; }

/* Process / CTA accents should also stay within the Xalix palette. */
.process-icon { background: #eaf3fb; color: #2176BC; }

/* Client showcase */
.clients-section { background: #f7f9fc; }
.client-logo-wall { border-color: #dbe6f0; box-shadow: 0 16px 40px rgba(15,21,33,.06); }
.client-logo { border-color: #e4ebf2; }
.client-logo:hover { background: #fbfdff; box-shadow: inset 0 0 0 1px rgba(51,136,209,.10); }

/* Footer uses the supplied logo on a clean white logo plate so the exact dark mark remains visible. */
.footer-logo-wrap { background: #fff; border-radius: 10px; padding: 7px 11px; }
.footer-logo-wrap img { display: block; width: 145px; height: auto; }
.footer-nexora { background: #0f1521; }
.social-icon:hover { background: #2176BC !important; }

@media (max-width: 575.98px) {
  .navbar-brand-custom img { width: 125px; }
  .footer-logo-wrap img { width: 125px; }
}

/* Requested v7 fixes */
.x-contact-card .btn-primary,
.x-contact-card .btn-primary i { color: #fff !important; }

/* Trusted clients replacement */
.trusted-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.trusted-wrap .section-title {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.brand-blue { color: var(--n-blue); }
.trusted-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.trusted-stat-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 42px auto 0;
  max-width: 820px;
  padding: 26px 20px;
  background: #fff;
  border: 1px solid rgba(15, 21, 33, .08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(11, 20, 55, .06);
}
.trusted-stat {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 22px;
}
.trusted-stat strong {
  font-family: var(--n-font-display);
  color: var(--n-navy);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
}
.trusted-stat:first-child strong { color: var(--n-blue); font-size: 42px; }
.trusted-stat span {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}
.trusted-divider {
  width: 1px;
  background: rgba(15, 21, 33, .09);
  margin: 4px 0;
}
.trusted-note {
  margin: 22px auto 0;
  max-width: 720px;
  color: #667085;
  font-size: 14px;
}
.trusted-note i { color: var(--n-blue); margin-right: 6px; }
@media (max-width: 575.98px) {
  .trusted-stat-row { flex-direction: column; gap: 20px; padding: 24px 18px; margin-top: 32px; }
  .trusted-divider { width: 70px; height: 1px; margin: 0 auto; }
  .trusted-stat { padding: 0; }
  .trusted-stat strong { font-size: 24px; }
  .trusted-stat:first-child strong { font-size: 38px; }
}
