/* Privacy Policy Refinement - Final Figma Match */

:root {
  --privacy-primary: #175cff;
  --privacy-bg: #f8fafc;
  --privacy-text: #52525b;
  --privacy-heading: #18181b;
  --privacy-muted: #71717a;
  --privacy-card-bg: #ffffff;
  --privacy-nav-hover: #f4f4f5;
}

.privacy-content-section {
  background-color: var(--privacy-bg);
}

/* Sidebar Styling */
.sticky-sidebar {
  position: sticky;
  top: 140px;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e4e4e7;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: top 0.3s ease;
  z-index: 100;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.sticky-sidebar::-webkit-scrollbar {
  width: 0px;
}

.sticky-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sticky-sidebar::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 10px;
}

.sticky-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--privacy-primary);
}

.sticky-sidebar h5 {
  color: var(--privacy-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.privacy-nav {
  border: none;
}

.privacy-nav .nav-item {
  margin-bottom: 8px;
}

.privacy-nav .nav-link {
  color: var(--privacy-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px;
  border: none;
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.privacy-nav .nav-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.privacy-nav .nav-link:hover {
  color: var(--privacy-heading);
  background-color: var(--privacy-nav-hover);
}

.privacy-nav .nav-link.active {
  color: #ffffff;
  background-color: var(--privacy-primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(23, 92, 255, 0.2);
}

/* Main Content Card */
.privacy-main-card {
  background: var(--privacy-card-bg);
  border-radius: 24px;
  padding: 4rem;
  border: 1px solid #e4e4e7;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.privacy-section {
  scroll-margin-top: 150px;
}

.section-title {
  color: var(--privacy-heading);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title i {
  color: var(--privacy-primary);
  font-size: 1.5rem;
}

.subsection-subtitle {
  color: var(--privacy-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.privacy-section p {
  color: var(--privacy-text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* Dot List Styling */
.check-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--privacy-text);
  font-size: 1rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--privacy-muted);
  border-radius: 50%;
}

/* Contact Box */
.contact-box {
  background: #f8fafc;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #e4e4e7;
  margin-top: 2.5rem;
}

.contact-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--privacy-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-item .value {
  color: var(--privacy-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .privacy-main-card {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .privacy-main-card {
    padding: 2rem;
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    align-items:;
  }

  .section-title i {
    font-size: 1.25rem;
  }

  .subsection-subtitle {
    font-size: 1.15rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  i.fas.text-primary {
    color: #1054f9 !important;
    margin: 0px !important;
  }

  .privacy-date-section {
    display: flex;
    flex-direction: column;
  }

  .ptb-120 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .privacy-main-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .section-title {
    font-size: 1.35rem;
    gap: 0.75rem;
  }

  .section-title i {
    font-size: 1.1rem;
    margin-right: 0 !important; /* Override inline style if present */
  }

  .privacy-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .check-list li {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }

  .contact-box {
    padding: 1.5rem;
  }

  .ms-md-4 {
    margin-left: 0.5rem !important;
  }
}
