:root {
  --nav-h: 30px;
  --brand: #1d4ed8;
  /* blue */
  --brand-2: #60a5fa;
  /* light blue */
  --ink: #0b1220;
  /* text */
  --muted: #6b7280;
  /* muted text */
  --soft-blue: rgba(96, 165, 250, .15);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

section[id] {
  scroll-margin-top: var(--nav-h);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff
}

.text-muted {
  color: var(--muted) !important
}

/* Buttons */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  box-shadow: 0 6px 18px rgba(29, 78, 216, .25)
}

.btn-brand:hover {
  filter: brightness(1.05);
  transform: translateY(-1px)
}

.badge-soft {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .8)
}

/* Hero */
.hero {
  min-height: 100vh;
  background: url("../images/bg.png") no-repeat center center/cover;
  display: flex;
  position: relative;
  overflow: hidden;
  color: white
}

.privacy {
  min-height: 50vh;
  background: url("../images/background-3.png") no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: center;
  /* horizontal center */
  align-items: center;
  /* vertical center */
  text-align: center;
}

.hero .phone {
  width: 320px;
  max-width: 38vw;
  border: 12px solid #111;
  border-bottom-width: 18px;
  border-top-width: 18px;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(2, 8, 23, .15)
}

.hero .glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 380px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .25), transparent);
  filter: blur(40px);
  pointer-events: none
}

/* Icons */
.wave-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

/* Add wavy layer */
.wave-icon::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%;
  /* blob effect */
  animation: wave 6s infinite linear;
}

/* Animation for wave movement */
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Sections */
section {
  padding: 72px 0
}

/* Features Section */
.features {
  background: white;
  color: #0a1930;
  padding: 80px 0;
  text-align: center;
}

.features h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 70px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(29, 78, 216, 0.35);
}

.feature-card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e0e7ff;
  font-size: 2rem;
  color: #1d4ed8;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: #6b7280;
}


.bg-soft-blue {
  background: var(--soft-blue)
}

/* Pricing */
.pricing-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px
}

.pricing-card.pop {
  border-color: var(--brand);
  box-shadow: 0 16px 48px rgba(29, 78, 216, .25)
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2))
}

/* Footer */
.footer {
  background: #061545;
  color: #eceef0
}

.footer a {
  color: #8e9198;
  text-decoration: none
}

.footer a:hover {
  text-decoration: none;
  color: white;
}

.rounded-2xl {
  border-radius: 1rem
}

.shadow-soft {
  box-shadow: 0 6px 24px rgba(2, 8, 23, .08)
}

/* === Accessibility & Contrast Enhancements === */
/* Colors tuned to meet WCAG AA on white and gradient backgrounds */
:root {
  --brand: #1742b0;
  /* darker blue for contrast */
  --brand-2: #3b82f6;
  /* light blue but sufficiently saturated */
  --btn-text: #ffffff;
  --btn-outline: #0f2e7a;
  /* outline border and focus ring */
}

/* Primary brand button */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 1px solid var(--btn-outline);
  color: var(--btn-text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}

.btn-brand:hover,
.btn-brand:focus {
  filter: none;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #133690, #2563eb);
  border-color: #0b2a6f;
  color: #fff;
}

.btn-brand:active {
  transform: translateY(0)
}

/* Outline buttons on colored backgrounds */
.btn-outline-light {
  color: #ffffff;
  border-color: #e5efff;
  background: rgba(255, 255, 255, .08);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ffffff;
  color: #0b1220;
  text-decoration: none;
}

.navbar {
  background-color: #d7dfef !important;
  /* your desired color */
}

/* Focus visibility */
.btn,
.form-control,
.accordion-button,
a.nav-link,
.navbar-toggler {
  outline: 0;
  box-shadow: none;
}

.btn:focus-visible,
.form-control:focus-visible,
.accordion-button:focus-visible,
.navbar-toggler:focus-visible,
a.nav-link:focus-visible {
  box-shadow: 0 0 0 .2rem rgba(23, 66, 176, .35), 0 0 0 .4rem rgba(59, 130, 246, .25);
  border-color: #1742b0;
}

/* Link color contrast */
a {
  color: #1742b0
}

a:hover {
  color: #102e7a;
  text-decoration: underline
}

/* Light dotted pattern background for sections */
.pattern {
  position: relative;
  isolation: isolate;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23, 66, 176, .12) 1px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(96, 165, 250, .10) 1px, transparent 0);
  background-size: 24px 24px, 32px 32px;
  background-position: 0 0, 8px 8px;
}

/* Ensure text remains readable on pattern by using white cards */
.pattern .feature-card,
.pattern .pricing-card,
.pattern .accordion-item,
.pattern .card {
  background: #ffffff
}

/* Nav links default style */
a.nav-link {
  text-decoration: none;
  /* removes underline */
  color: #031441;
  /* dark blue */
}

/* Optional: change color on hover */
a.nav-link:hover {
  color: #0d2a6d;
  /* even darker blue on hover */
  text-decoration: none;
  /* still no underline */
}

/* Active link style (if needed) */
a.nav-link.active {
  color: #1742b0;
  font-weight: 600;
}

/* how it works */
.steps-section {
  background: url("../images/background-2.png") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 80px 20px;

}

.section-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #e0e7ff;
}

/* Grid Layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Card */
.step-card {
  background: linear-gradient(135deg, #20e3b2, #3a7bd5);
  /* teal → blue */
  color: white;
  border-radius: 16px;
  padding: 70px 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

/* Number Badge */
.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
  transition: transform .3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

/* Card Content */
.step-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  color: white;
  font-size: 0.95rem;
}

/* Base list icon style */
.list-unstyled li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #2196f3;
  /* blue border */
  border-radius: 50%;
  color: #2196f3;
  /* blue icon */
  font-size: 14px;
  background-color: #eaf3ff;
  /* light background */
  transition: all 0.3s ease;
}

.list-unstyled.lead li {
  margin-bottom: 10px;
  /* increase vertical gap between items */
  display: flex;
  align-items: center;
  gap: 10px;

}

.about-section {
  background: #fff;
}

.who-section {
  position: relative;
  background: radial-gradient(ellipse at 20% -40%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(125deg, #092a7d, #0f55d8 60%, #0a3fb7);
  color: #fff;
  overflow: hidden;
}

.text-light-70 {
  color: rgba(255, 255, 255, .7);
}

/* Dotted overlay (subtle) */
.who-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 2px, transparent 2px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ABOUT US SECTION */
.about-section {
  background: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.headingColor {
  font-size: 2.4rem;
  font-weight: 200;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00d2d3 0%, #1e90ff 50%, #4f75ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  /* 👈 this is key */
}

.about-section p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.who-section {
  background: linear-gradient(135deg, #153a97, #1e40af, #2563eb);
  position: relative;
  overflow: hidden;
}

.who-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
  background-size: 36px 36px;
  pointer-events: none;
}

.text-light-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-accent {
  color: #20e3b2;
}

.list-unstyled li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.list-unstyled li i {
  font-size: 1.25rem;
}

.shadow-soft {
  box-shadow: 0 12px 32px rgba(13, 37, 98, 0.25);
}

.rounded-4 {
  border-radius: 1rem;
}