/* Footer design matching the requested rounded pharma card layout. */
.footer-style-one {
  --footer-purple: #76155f;
  --footer-teal: #00879b;
  --footer-orange: #f5a33d;
  --footer-ink: #554d46;
  --footer-muted: #6c655f;
  position: relative;
  padding: 10px 0 18px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0.5)),
    url("../images/how_it_works_banner.png") center / cover no-repeat;
}

.footer-style-one .outer-box {
  position: relative;
  background: transparent;
  overflow: visible;
}

.footer-style-one .shape-1,
.footer-style-one .shape-2,
.footer-style-one .shape-3,
.footer-style-one .widgets-section,
.footer-style-one .footer-middle-box,
.footer-style-one .footer-bottom {
  display: none;
}

.footer-style-one .auto-container {
  max-width: 1320px;
  padding: 16px 15px 0;
}

.nvm-footer-card {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 44px 0;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid transparent;
  border-radius: 30px;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(115deg, var(--footer-teal), var(--footer-purple) 48%, var(--footer-orange));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 28px 50px rgba(44, 55, 66, 0.16);
}

.nvm-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 54px;
  min-height: 0;
}

.nvm-footer-brand img {
  width: 180px;
  max-width: 100%;
  margin: 0 0 16px;
}

.nvm-footer-text {
  max-width: 230px;
  margin: 0 0 12px;
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.48;
}

.nvm-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.nvm-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--badge-color);
  background: rgba(var(--badge-rgb), 0.09);
  border: 1px solid rgba(var(--badge-rgb), 0.22);
}

.nvm-footer-badge i {
  font-size: 12px;
}

.nvm-footer-badge.purple {
  --badge-color: var(--footer-purple);
  --badge-rgb: 118, 21, 95;
}

.nvm-footer-badge.orange {
  --badge-color: var(--footer-orange);
  --badge-rgb: 245, 163, 61;
}

.nvm-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 7px 6px 24px;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(100deg, var(--footer-purple), var(--footer-teal) 55%, #c19034);
  box-shadow: 0 14px 30px rgba(78, 62, 92, 0.18);
}

.nvm-footer-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

.nvm-footer-cta span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--footer-teal);
  background: #fff;
}

.nvm-footer-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--footer-purple);
  font-family: var(--font-family-style3, "Playfair Display", serif);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.nvm-footer-title .icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  background: var(--title-color);
  box-shadow: 0 13px 24px rgba(var(--title-rgb), 0.25);
}

.nvm-footer-title:after {
  content: "";
  display: block;
  align-self: flex-end;
  width: 34px;
  height: 2px;
  margin: 0 0 -11px -52px;
  border-radius: 4px;
  background: rgba(var(--title-rgb), 0.32);
}

.nvm-footer-title.teal {
  --title-color: var(--footer-teal);
  --title-rgb: 0, 135, 155;
}

.nvm-footer-title.orange {
  --title-color: var(--footer-orange);
  --title-rgb: 245, 163, 61;
}

.nvm-footer-title.purple {
  --title-color: var(--footer-purple);
  --title-rgb: 118, 21, 95;
}

.nvm-footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nvm-footer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--footer-ink);
  font-size: 16px;
  line-height: 1.25;
  background: rgba(var(--link-rgb), 0.07);
}

.nvm-footer-links a:hover {
  color: var(--link-color);
  background: rgba(var(--link-rgb), 0.12);
}

.nvm-footer-links i {
  color: var(--link-color);
  font-size: 8px;
}

.nvm-footer-company {
  --link-color: var(--footer-teal);
  --link-rgb: 0, 135, 155;
}

.nvm-footer-divisions {
  --link-color: var(--footer-orange);
  --link-rgb: 245, 163, 61;
}

.nvm-footer-contact-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(118, 21, 95, 0.16);
}

.nvm-footer-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--footer-ink);
  background: rgba(var(--contact-rgb), 0.07);
  border-left: 3px solid rgba(var(--contact-rgb), 0.55);
}

.nvm-footer-contact-card .card-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgb(var(--contact-rgb));
  box-shadow: 0 11px 20px rgba(var(--contact-rgb), 0.22);
}

.nvm-footer-contact-card strong {
  display: block;
  margin-bottom: 3px;
  color: rgb(var(--contact-rgb));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nvm-footer-contact-card span,
.nvm-footer-contact-card a {
  color: var(--footer-ink);
  font-size: 15px;
  line-height: 1.35;
}

.nvm-footer-contact-card.purple {
  --contact-rgb: 118, 21, 95;
}

.nvm-footer-contact-card.teal {
  --contact-rgb: 0, 135, 155;
}

.nvm-footer-contact-card.orange {
  --contact-rgb: 245, 163, 61;
}

.nvm-footer-social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nvm-footer-social a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--footer-purple);
  background: rgba(118, 21, 95, 0.1);
}

.nvm-footer-social a:hover {
  color: #fff;
  background: var(--footer-purple);
  transform: translateY(-2px);
}

.nvm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 12px 0 10px;
  border-top: 1px solid rgba(118, 21, 95, 0.12);
}

.nvm-footer-bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
}

.nvm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nvm-footer-nav a {
  color: var(--footer-ink);
  font-size: 14px;
}

.nvm-footer-nav a:hover {
  color: var(--footer-purple);
}

@media (max-width: 1199.98px) {
  .nvm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    gap: 34px;
  }
}

@media (max-width: 767.98px) {
  .footer-style-one {
    padding: 8px 0 16px;
  }

  .footer-style-one .auto-container {
    padding: 10px 12px 0;
  }

  .nvm-footer-card {
    padding: 18px 18px 0;
    border-radius: 22px;
  }

  .nvm-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nvm-footer-brand img {
    width: 160px;
  }

  .nvm-footer-title {
    font-size: 22px;
  }

  .nvm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
