:root {
  --brand-blue: #1e39b9;
  --brand-purple: #7c2cff;
  --text-dark: #102046;
  --soft-bg: #f6f9ff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Heebo", sans-serif;
  color: var(--text-dark);
  background: #fff;
}

.text-primary-brand {
  color: var(--brand-blue) !important;
}

.text-gradient {
  background: linear-gradient(90deg, #26a4ff, #7c2cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient {
  color: #fff;
  background: linear-gradient(90deg, #7c2cff, #267dff);
  border: 0;
  border-radius: 12px;
}

.btn-gradient:hover {
  color: #fff;
  filter: brightness(1.05);
}

.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
}

.hero-intro-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (min-width: 992px) {
  .hero-row {
    flex-direction: row-reverse;
  }

  .hero-text {
    text-align: right;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.brand-item {
  color: #3b4a72;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.7;
}

.services {
  background: var(--soft-bg);
}

.service-card {
  border: 1px solid #e9eefb;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(24, 50, 126, 0.08);
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
}

.bg-purple {
  background: linear-gradient(135deg, #8f3fff, #6b28ef);
}

.bg-blue {
  background: linear-gradient(135deg, #1f97ff, #1e61ff);
}

.bg-cyan {
  background: linear-gradient(135deg, #18c6db, #2f8cff);
}

.service-link {
  color: #2f69ff;
  font-weight: 500;
  text-decoration: none;
}

.stats-wrap {
  border-radius: 18px;
  background: radial-gradient(circle at 80% 10%, #722dff, #11217d 45%, #08164f 100%);
}

.cta-box {
  border-radius: 18px;
  background: #f2f6ff;
  border: 1px solid #e4ecff;
}

.footer {
  background: linear-gradient(180deg, #081a5d 0%, #030e3d 100%);
}

.footer-links a {
  color: #d8e4ff;
  text-decoration: none;
  line-height: 2;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

@media (max-width: 575px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }

  .hero-section h1 {
    font-size: 2rem;
  }
}

/* Policy page — aligned with main site */
.policy-page-body {
  background: #fff;
}

.policy-toc-card {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.policy-toc-card .nav-link {
  color: #3b4a72;
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  font-size: 0.95rem;
}

.policy-toc-card .nav-link:hover,
.policy-toc-card .nav-link:focus {
  background: #f0f4ff;
  color: var(--brand-blue);
}

.policy-content-shell {
  border: 1px solid #e9eefb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.policy-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-bottom: 1px solid #e9eefb;
  margin: -1.5rem -1.5rem 0 -1.5rem;
}

@media (min-width: 768px) {
  .policy-intro {
    margin: -3rem -3rem 0 -3rem;
  }
}

.policy-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid #e9eefb;
}

.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.policy-section:first-of-type {
  padding-top: 0;
}

.policy-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.policy-num {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #8f3fff, #267dff);
}

.policy-highlight {
  background: #f2f6ff;
  border: 1px solid #e4ecff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.policy-contact-box {
  background: #f2f6ff;
  border: 1px solid #e4ecff;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.policy-page-body .policy-content-shell p {
  margin-bottom: 0.75rem;
}

.policy-page-body .policy-content-shell p:last-child {
  margin-bottom: 0;
}

.policy-page-body .policy-content-shell ul {
  padding-right: 1.25rem;
  margin-bottom: 0;
}

.policy-page-body .policy-content-shell li {
  margin-bottom: 0.5rem;
}

.policy-page-body .policy-content-shell li:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .policy-toc-card {
    position: static;
    max-height: none;
  }
}

@media print {
  .policy-page-body .navbar,
  .policy-page-body .policy-toc-card,
  .policy-page-body .footer {
    display: none !important;
  }

  .policy-content-shell {
    border: none;
  }
}
