/* assets/css/style.css */

/* =========================
   Purple Theme (Naksh)
   ========================= */
:root{
  /* Brand + Accent */
  --na-primary: #5B2D8B;          /* Brand Purple */
  --na-primary-dark: #4A2373;     /* Dark Purple */
  --na-primary-deep: #3A1B5C;     /* Deeper Purple */

  --na-accent: #8B5CF6;           /* Accent Purple */
  --na-accent-light: #C4B5FD;     /* Light Accent */

  /* Surfaces + Borders */
  --na-bg-soft: #F4F1FA;          /* Soft background tint */
  --na-border-soft: #E6DFF3;      /* Soft border */

  /* Text */
  --na-text-main: #1E1B29;
  --na-text-muted: #6B5A7A;
}

/* =========================
   Base
   ========================= */
body{ color: var(--na-text-main); background:#fff; }
a{ text-decoration:none; }
.divider{ height:1px; background: rgba(30,27,41,0.08); }

/* =========================
   Utility
   ========================= */
.bg-na-primary{ background: var(--na-primary); }
.text-na-primary{ color: var(--na-primary); }

/* =========================
   Section spacing
   ========================= */
.section{ padding: 70px 0; }

/* =========================
   Buttons
   ========================= */
.btn-na{
  background: linear-gradient(135deg, var(--na-accent), var(--na-primary));
  border: none;
  color:#ffffff;
  font-weight:600;
}
.btn-na:hover{
  background: linear-gradient(135deg, var(--na-primary), var(--na-primary-dark));
  color:#ffffff;
}

/* =========================
   Navbar
   ========================= */
.navbar .nav-link{
  font-weight: 600;
  color: var(--na-text-main);
}
.navbar .nav-link.active,
.navbar .nav-link:hover{
  color: var(--na-primary);
}

/* =========================
   Hero
   ========================= */
.hero{
  background:
    linear-gradient(135deg, rgba(91,45,139,0.95), rgba(58,27,92,0.95)),
    radial-gradient(900px 520px at 18% 12%, rgba(139,92,246,0.35), transparent 60%),
    radial-gradient(700px 380px at 80% 18%, rgba(196,181,253,0.20), transparent 55%);
  color:#fff;
}
.hero .lead{ color: rgba(255,255,255,.88); }

/* =========================
   Badges
   ========================= */
.badge-na{
  background: rgba(139,92,246,.14);
  color: #2c0f46;
  border: 1px solid rgba(139,92,246,.28);
}

/* =========================
   Cards
   ========================= */
.card-soft{
  border: 1px solid var(--na-border-soft);
  box-shadow: 0 10px 24px rgba(58,27,92,0.10);
  border-radius: 18px;
  background: #ffffff;
}

/* =========================
   Icon Badge
   ========================= */
.icon-badge{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(139,92,246,0.20), rgba(91,45,139,0.20));
  color: var(--na-primary);
  font-size: 22px;
  flex: 0 0 auto;
}

/* =========================
   Page Header
   ========================= */
.page-head{
  background: linear-gradient(135deg, rgba(91,45,139,0.08), rgba(139,92,246,0.06));
  border-bottom: 1px solid var(--na-border-soft);
}

/* =========================
   Muted text override
   ========================= */
.text-muted,
.muted{
  color: var(--na-text-muted) !important;
}

/* =========================
   Product placeholder / fallback
   ========================= */
.product-thumb{
  border-radius: 14px;
  background: rgba(58,27,92,.04);
  border: 1px dashed rgba(58,27,92,.22);
  height: 140px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(30,27,41,.65);
  font-weight: 600;
}

.img-fallback{
  height: 170px;
  border-radius: 14px;
  border: 1px dashed rgba(58,27,92,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(30,27,41,.60);
  background: rgba(58,27,92,.04);
  font-weight: 600;
  text-align:center;
  padding: 12px;
}

/* =========================
   Footer
   ========================= */
.footer{
  background: linear-gradient(135deg, var(--na-primary-deep), #2A123F);
  color: rgba(255,255,255,0.85);
}
.footer a{ color: rgba(255,255,255,0.85); }
.footer a:hover{ color:#fff; text-decoration: underline; }

/* =========================
   Forms (subtle focus ring)
   ========================= */
.form-control:focus,
.form-select:focus{
  border-color: rgba(139,92,246,0.55);
  box-shadow: 0 0 0 .25rem rgba(139,92,246,0.18);
}

/* =========================
   Modal (lightbox aesthetics)
   ========================= */
.modal-content{
  border: 1px solid var(--na-border-soft);
}

/* =========================
   Product Images (Purple Theme)
   ========================= */

.product-img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--na-border-soft);
  background: rgba(91,45,139,0.04); /* soft purple tint */
  transition: all 0.25s ease;
}

/* Hover effect */
.product-card:hover .product-img{
  filter: brightness(0.97);
  box-shadow: 0 8px 18px rgba(91,45,139,0.18);
  transform: translateY(-2px);
}

/* Image fallback (missing image) */
.img-fallback{
  height: 170px;
  border-radius: 14px;
  border: 1px dashed rgba(91,45,139,0.30);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color: var(--na-text-muted);
  background: rgba(91,45,139,0.05);
  font-weight: 600;
  padding: 12px;
}
.service-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--na-border-soft);
  background: rgba(91,45,139,0.04); /* soft purple tint */
  transition: all 0.25s ease;
}

/* Hover effect for service cards */
.card-soft:hover .service-img{
  filter: brightness(0.97);
  box-shadow: 0 8px 18px rgba(91,45,139,0.18);
  transform: translateY(-2px);
}

/* =========================
   Products Page – Modern UI
   ========================= */


@media (max-width: 991px){
  .products-hero { padding: 26px 18px; }
  .products-hero .hero-cta { justify-content: flex-start; }
}

.filter-strip {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(58,27,92,0.06);
}

.filter-strip.sticky {
  position: sticky;
  top: 76px; /* adjust for navbar */
  z-index: 30;
}

.pills-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  scrollbar-width: thin;
}
.pills-scroll::-webkit-scrollbar { height: 6px; }
.pills-scroll::-webkit-scrollbar-thumb {
  background: rgba(91,45,139,0.25);
  border-radius: 999px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,0.22);
  background: rgba(139,92,246,0.06);
  color: #1f2937;
  font-weight: 700;
  white-space: nowrap;
  transition: all .18s ease;
}
.cat-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(139,92,246,0.45);
  box-shadow: 0 10px 18px rgba(91,45,139,0.10);
}
.cat-pill.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(91,45,139,0.18));
  border-color: rgba(139,92,246,0.55);
  color: #2c0f46;
}

.cat-pill .count {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,0.35);
  background: rgba(139,92,246,0.12);
  color: #2c0f46;
}

.active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.10);
  color: #2c0f46;
  font-weight: 800;
  font-size: 13px;
}

.products-section-head{
  border-left: 5px solid rgba(139,92,246,0.45);
  padding-left: 14px;
  margin-top: 6px;
}



.service-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(2,6,23,.03);
}


/* =========================
   About Page – Modern UI
   ========================= */

.about-hero{
  border-radius: 22px;
  padding: 38px 22px;
  border: 1px solid rgba(139,92,246,0.18);
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(139,92,246,0.18), transparent 60%),
    radial-gradient(700px 260px at 92% 20%, rgba(91,45,139,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.88));
  box-shadow: 0 18px 40px rgba(58,27,92,0.08);
}

.about-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.10);
  color: #2c0f46;
  font-weight: 800;
  font-size: 13px;
}

.stat-card{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 26px rgba(58,27,92,0.06);
}

.stat-card .stat-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.10);
  color: #2c0f46;
  font-size: 20px;
}

.about-panel{
  border-radius: 18px;
  border: 1px solid rgba(139,92,246,0.18);
  background:
    linear-gradient(135deg, rgba(139,92,246,0.12), rgba(91,45,139,0.08));
  box-shadow: 0 14px 28px rgba(58,27,92,0.08);
}

.goal-list li{
  margin-bottom: 10px;
}
.goal-list i{
  color: #5b2d8b;
  margin-right: 8px;
}