/**
 * Privacy Policy Page Styles - Neto ISP Theme
 * Developed by MH Badhon Ahmed (Web Techiq)
 */

html {
  scroll-behavior: smooth;
}

/* ── Top Meta Bar ────────────────────────────────────────────────────── */
.privacy-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #ffffff;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  margin-bottom: 30px;
}

.privacy-date-badge,
.privacy-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
}

.privacy-date-badge strong {
  color: #0f172a;
  font-weight: 700;
}

.privacy-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.privacy-print-btn:hover {
  background: #ff6b00;
  color: #ffffff;
  border-color: #ff6b00;
}

/* ── Layout Grid ─────────────────────────────────────────────────────── */
.privacy-policy-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
}

.privacy-content-col.is-full-width {
  grid-column: span 2;
}

/* ── Sticky Sidebar Table of Contents ────────────────────────────────── */
.privacy-sidebar-col {
  position: sticky;
  top: 95px;
}

.privacy-toc-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.privacy-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.privacy-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.privacy-toc-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s ease;
}

.privacy-toc-nav a:hover {
  background: #fff7ed;
  color: #ff6b00;
  padding-left: 14px;
}

/* Active state set by scroll spy JS */
.privacy-toc-nav a.toc-active,
.privacy-toc-nav .toc-li-active > a {
  background: #fff7ed;
  color: #ff6b00;
  padding-left: 14px;
  font-weight: 700;
  border-left: 3px solid #ff6b00;
}


.privacy-toc-nav .toc-num {
  font-weight: 700;
  color: #ff6b00;
  font-size: 12px;
  flex-shrink: 0;
}

.privacy-toc-nav .toc-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Support Box */
.privacy-support-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #bfdbfe;
  text-align: center;
}

.privacy-support-box .support-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.privacy-support-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 6px 0;
}

.privacy-support-box p {
  font-size: 12.5px;
  color: #3b82f6;
  line-height: 1.4;
  margin: 0 0 14px 0;
}

.privacy-support-box .btn-privacy-contact {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.privacy-support-box .btn-privacy-contact:hover {
  background: #1d4ed8;
}

/* ── Main Policy Content Column ──────────────────────────────────────── */
.privacy-intro-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
}

.privacy-intro-card .intro-shield-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}

.privacy-intro-card .intro-title {
  font-size: 18px;
  font-weight: 800;
  color: #9a3412;
  margin: 0 0 6px 0;
}

.privacy-intro-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #7c2d12;
  margin: 0;
}

/* ── Policy Section Cards ────────────────────────────────────────────── */
.privacy-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.privacy-section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.privacy-section-card .sec-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.privacy-section-card .sec-number-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ff6b00 0%, #ff9f00 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.25);
}

.privacy-section-card .sec-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}

.privacy-section-card .sec-para {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 12px 0;
}

.privacy-section-card .sec-para:last-child {
  margin-bottom: 0;
}

/* Bullet List */
.privacy-bullet-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.privacy-bullet-list .bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  font-size: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Alert Callout Boxes */
.privacy-alert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 14px;
}

.privacy-alert-box.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.privacy-alert-box.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* ── Mobile Responsive ───────────────────────────────────────────────── */
@media (max-width: 992px) {
  .privacy-policy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar-col {
    position: static;
  }

  .privacy-intro-card {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .privacy-section-card {
    padding: 20px;
  }

  .privacy-section-card .sec-card-title {
    font-size: 16.5px;
  }

  .privacy-meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Print Media Styles */
@media print {
  .privacy-meta-bar,
  .privacy-sidebar-col,
  .site-header,
  .site-footer,
  .banner-breadcrumbs-wrap {
    display: none !important;
  }

  .privacy-policy-grid {
    grid-template-columns: 1fr !important;
  }

  .privacy-section-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
}
