/* NidhiIQ PolicyBazaar Exact Styling & Modal System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --pb-navy: #0f172a;
  --pb-blue: #1d4ed8;
  --pb-brand-blue: #0066cc;
  --pb-bg: #ffffff;
  --pb-card-bg: #f2f6fc;
  --pb-text: #1e293b;
  --pb-text-muted: #64748b;
  --pb-border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  background-color: #ffffff;
  color: var(--pb-text);
  line-height: 1.5;
  overflow-x: hidden;
}

.nidhi-container {
  max-width: 1350px;
  width: 100%;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}

/* Header Bar */
.pb-top-bar {
  background: #ffffff;
  border-bottom: 1px solid #eef2f8;
  color: #1e293b;
  font-size: 0.85rem;
  padding: 6px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pb-top-bar a {
  color: #f59e0b;
  text-decoration: none;
  font-weight: 600;
}

.pb-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.pb-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pb-nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.pb-nav-link {
  color: var(--pb-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.pb-nav-link:hover {
  color: var(--pb-brand-blue);
}

/* Hero Section */
.pb-hero-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 40px 5% 30px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pb-hero-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #334155;
  line-height: 1.25;
  margin-bottom: 20px;
}

.pb-hero-title strong {
  font-weight: 800;
  color: #0f172a;
}

.pb-sub-bullets {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.pb-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.pb-bullet-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.85rem;
  line-height: 1.2;
}

.pb-bullet-sub {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

.pb-icon-circle-blue {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pb-icon-circle-green {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pb-icon-circle-purple {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #faf5ff;
  color: #9333ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Compact Hero Slider (Slideover Carousel) */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 235px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  margin-left: auto;
  background: #0f172a;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide-item {
  min-width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Controls & Dots */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
}

.hero-slider-wrapper:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: rgba(15, 23, 42, 0.85);
}

.hero-arrow-left {
  left: 10px;
}

.hero-arrow-right {
  right: 10px;
}

.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, width 0.3s;
}

.hero-dot.active {
  background: #ffffff;
  transform: scale(1.15);
  width: 20px;
  border-radius: 10px;
}

/* 7 Columns Row Grid */
.pb-grid-7col {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  max-width: 1350px;
  margin: 15px auto 30px;
  padding: 0 5%;
}

.pb-card-7col {
  background: #f8fafc !important;
  border-radius: 14px !important;
  padding: 14px 6px 12px !important;
  text-align: center !important;
  box-shadow: none !important;
  border: 1px solid #eef2f8 !important;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 142px;
}

.pb-card-7col:hover {
  background: #ffffff !important;
  transform: translateY(-3px);
  border-color: #046a38 !important;
  box-shadow: 0 8px 20px rgba(4, 106, 56, 0.12) !important;
}

.pb-card-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-top: 4px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  box-shadow: none !important;
}

.pb-card-7col-title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
}

/* Categorized Products 5-Column Grid */
.cat-grid-5col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 12px;
}

/* Categorized Products 7-Column Grid */
.cat-grid-7col {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}


/* 3 In a Row Banners Grid */
.banners-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1350px;
  margin: 0 auto;
}

.banner-card-short {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.banner-card-short:hover {
  transform: translateY(-4px);
  border-color: #046a38;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.banner-card-short img {
  width: 100%;
  height: auto;
  display: block;
}

/* Exact Modal Popup Styling from Screenshot */
/* Sleek Compact Premium Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  padding: 16px;
}

.modal-content-enquire {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 410px;
  padding: 24px 22px 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  border: 1px solid #e2e8f0;
  color: #0f172a;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.enquire-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.enquire-subtitle {
  color: #64748b;
  font-size: 0.84rem;
  margin-bottom: 18px;
  line-height: 1.35;
}

.form-field-group {
  margin-bottom: 14px;
}

.form-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  display: block;
}

.form-input-text {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.9rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-input-text:focus {
  border-color: #046a38;
  background: #ffffff;
}

.phone-input-wrap {
  display: flex;
  background: #f8fafc;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  transition: border-color 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: #046a38;
  background: #ffffff;
}

.phone-prefix {
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #475569;
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}

.phone-input-text {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
}

.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.9rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}

.form-textarea:focus {
  border-color: #046a38;
  background: #ffffff;
}

.char-counter {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 4px;
}

.btn-whatsapp-submit {
  width: 100%;
  background: #046a38;
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(4, 106, 56, 0.2);
}

.btn-whatsapp-submit:hover {
  background: #03522b;
  transform: translateY(-1px);
}

/* Infinite Auto-Scrolling Reviews Marquee */
.reviews-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.reviews-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.reviews-marquee-wrapper:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card-sm {
  width: 250px;
  flex: 0 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card-sm:hover {
  transform: translateY(-2px);
  border-color: #046a38;
}

.review-card-header-sm {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.review-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #046a38 0%, #065f46 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-sm {
  font-weight: 700;
  font-size: 0.86rem;
  color: #0f172a;
  line-height: 1.2;
}

.review-stars-sm {
  font-size: 0.72rem;
  margin-top: 1px;
}

.review-text-sm {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Full Mobile Responsive Design System */
@media (max-width: 1024px) {
  .pb-grid-7col {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 4%;
  }
  .cat-grid-5col {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .banners-grid-3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pb-top-bar {
    padding: 6px 3%;
    font-size: 0.76rem;
  }
  .pb-top-bar div {
    gap: 10px !important;
  }
  .pb-navbar {
    padding: 8px 4% !important;
  }
  .pb-navbar-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px 12px !important;
  }
  .pb-navbar-inner > a:first-child {
    order: 1 !important;
  }
  .nidhi-news-wrap {
    order: 2 !important;
    margin-left: auto !important;
  }
  .nidhi-header-menu {
    order: 3 !important;
    width: 100% !important;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 2px;
    gap: 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nidhi-header-menu::-webkit-scrollbar {
    display: none;
  }
  .nidhi-nav-divider {
    display: none;
  }
  .btn-in-news {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
  .pb-hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 4% 16px;
    text-align: center;
  }
  .pb-hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }
  .pb-sub-bullets {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    max-width: 320px;
    margin: 12px auto 0 !important;
  }
  .pb-bullet-item {
    width: 100%;
  }
  .hero-slider-wrapper {
    max-width: 100% !important;
    height: 210px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
  }
  .pb-grid-7col {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    padding: 0 3% !important;
  }
  .cat-grid-5col {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
  .banners-grid-3col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  footer div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 24px !important;
  }
  footer img {
    margin-left: 0 !important;
    max-height: 160px !important;
    margin: 0 auto !important;
    display: block !important;
  }
  footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  footer li[style*="display:flex"] {
    justify-content: center !important;
    text-align: left !important;
  }
  footer div[style*="display:flex; align-items:center; gap:10px;"] {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .pb-hero-title {
    font-size: 1.45rem !important;
  }
  .pb-grid-7col {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .cat-grid-5col {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .pb-card-7col {
    padding: 10px 4px 8px !important;
    min-height: 115px !important;
    border-radius: 12px !important;
  }
  .pb-card-icon-img {
    width: 40px !important;
    height: 40px !important;
    margin-top: 2px !important;
    margin-bottom: 4px !important;
  }
  .pb-card-7col-title {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }
  .modal-content-enquire {
    width: 94% !important;
    padding: 20px 16px !important;
    max-height: 90vh !important;
  }
}

/* Modern Enquiry Modal v2 Mobile Responsive Styles */
@media (max-width: 900px) {
  .modal-content-enquire-v2 {
    width: 95% !important;
    padding: 28px 20px !important;
    border-radius: 20px !important;
    max-height: 90vh !important;
  }
  .modal-grid-v2 {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .modal-features-grid-v2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
  }
  .modal-steps-flex-v2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .modal-steps-arrow-v2 {
    display: none !important;
  }
  .modal-peach-box-v2 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 600px) {
  .modal-content-enquire-v2 {
    padding: 22px 14px !important;
    max-height: 94vh !important;
  }
  .modal-content-enquire-v2 h2 {
    font-size: 1.45rem !important;
  }
  .modal-close-btn-v2 {
    top: 10px !important;
    right: 10px !important;
  }
}

