/* ============================================================
   Pathiv brand overrides — loaded after style.css
   Palette from the Pathiv logo:
   deep purple #6d4aa0 · pink #f06ca0 · coral #f5936b
   success green #4cbb3c · warm white #fbfaf7
   ============================================================ */

:root {
  --pathiv-purple: #6d4aa0;
  --pathiv-purple-dark: #533579;
  --pathiv-purple-light: #9a77f9;
  --pathiv-pink: #f06ca0;
  --pathiv-coral: #f5936b;
  --pathiv-green: #4cbb3c;
  --pathiv-warm-white: #fbfaf7;
  --h6-gr: #6d4aa0;
  --h6-gradient-color: linear-gradient(113.04deg, #9a77f9 -2.43%, #6d4aa0 100%);
  --gradient-color: linear-gradient(113deg, #9a77f9 -2.43%, #6d4aa0 100%);
}

/* Primary buttons: purple fill needs white text */
.h6-btn-primary,
.h6-btn-primary > span,
.h6-btn-bg,
.pricing-button {
  color: #ffffff;
}

.h6-btn-primary::before,
.h6-btn-primary::after {
  background-color: var(--pathiv-pink);
}

/* Moving headline strip — logo tints instead of green/cyan/yellow */
.headline-color-gr {
  color: var(--pathiv-pink);
}
.headline-color-bl {
  color: #cdb7f0;
}
.headline-color-yl {
  color: var(--pathiv-coral);
}

/* Pricing range sliders */
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-moz-range-track,
input[type="range"]::-moz-range-thumb {
  background-color: var(--pathiv-purple) !important;
}
input[type="range"]:focus::-webkit-slider-thumb,
input[type="range"]:focus::-moz-range-thumb {
  outline-color: var(--pathiv-purple-light) !important;
}

/* Slick dots, badges, misc green accents */
.feedback-list .slick-dots li.slick-active,
.bg-location {
  background: var(--pathiv-purple);
}

.footer-menu-badge.footer-menu-badge--new {
  background: var(--pathiv-green);
  color: #ffffff;
}

.plan-table tbody tr td.active,
.plan-table thead tr th.active {
  border-color: var(--pathiv-purple) !important;
}

/* ============================================================
   Responsive fixes — product mock SVGs must scale on all screens
   ============================================================ */

.hero-img-side img,
.h6-about-img-sec img,
.tab-content img,
img.h6-compaire {
  max-width: 100%;
  height: auto;
}

.hero-img-side .responsive-position {
  width: min(440px, 100%);
}

/* floating notification badges: keep readable but never overflow */
.pathiv-anim-shape6,
.pathiv-anim-shape8 {
  max-width: 300px;
}

@media (max-width: 991.98px) {
  .h6-hero-wrapper h1 {
    font-size: clamp(2rem, 6vw, 3.25rem);
  }
  .h6-about-img-sec {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .pathiv-anim-shape6,
  .pathiv-anim-shape8 {
    max-width: 200px;
  }
  .h6-hero-form .h6-btn-primary > span {
    padding: 16px 22px;
  }
  .award-card-bg {
    padding: 1.5rem;
  }
}

/* Header logo: nudged right, 20px taller; bar padding reduced to
   compensate (17px -> 7px each side) so the menu bar height is unchanged */
.pathiv-header__logo {
  max-height: 70px;
  margin-left: 16px;
}
.pathiv-header__logo img.logo-img {
  height: 70px;
  width: auto;
  max-width: none;
}
.pathiv-header__inside {
  padding: 7px 0;
}
#active-sticky.is-sticky .pathiv-header__inside {
  padding-top: 2px;
  padding-bottom: 2px;
}
@media (max-width: 991.98px) {
  .pathiv-header__logo {
    margin-left: 8px;
  }
  .pathiv-header__logo img.logo-img {
    height: 54px;
  }
  .pathiv-header__inside {
    padding: 10px 0;
  }
}

/* Inner pages share index's header shell; give it a solid surface there
   (on the home page it floats transparent over the hero). Cover every
   header variant class so nothing keeps it absolute/dark on subpages. */
body.pathiv-subpage .pathiv-header,
body.pathiv-subpage .pathiv-header.sastain-h6_header,
body.pathiv-subpage .pathiv-header.pathiv-header--v3 {
  position: relative !important;
  top: 0;
  background: #ffffff !important;
  box-shadow: 0 2px 24px rgba(37, 24, 60, 0.06);
  z-index: 120;
}
/* v3 variant paints nav links white for dark banners — restore dark-on-white */
body.pathiv-subpage .pathiv-header .nav-menu li a,
body.pathiv-subpage .pathiv-header.pathiv-header--v3 .nav-menu li a {
  color: #252f4b;
}
body.pathiv-subpage .pathiv-header .nav-menu li a:hover,
body.pathiv-subpage .pathiv-header.pathiv-header--v3 .nav-menu li a:hover {
  color: var(--pathiv-purple);
}
/* banner titles never slide under the header */
body.pathiv-subpage .breadcrumb-area {
  padding: 80px 0 90px;
}
body.pathiv-subpage .breadcrumb-area .page-banner-heading {
  position: relative;
  z-index: 1;
}

/* Client trust strip: consistent logo sizing */
.h6-partner-slide img {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

/* Circular author avatars for the designed SVG initials */
.award-card-sm-img img,
.single-feedback__author img,
.h6-single-blog__author img {
  border-radius: 50%;
}

/* Free-for-Schools/NGO banner under pricing */
.pathiv-ngo-banner {
  margin-top: 40px;
  padding: 32px 40px;
  border-radius: 20px;
  background: linear-gradient(113deg, #9a77f9 -2.43%, #6d4aa0 60%, #533579 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #ffffff;
}
.pathiv-ngo-banner__badge {
  display: inline-block;
  background: #4cbb3c;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.pathiv-ngo-banner h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin: 0 0 8px;
  font-weight: 700;
}
.pathiv-ngo-banner p {
  color: #e3d7f7;
  margin: 0;
  max-width: 560px;
}
.pathiv-ngo-banner .pathiv-ngo-banner__cta {
  flex-shrink: 0;
  background: #ffffff;
  color: #6d4aa0;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pathiv-ngo-banner .pathiv-ngo-banner__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 24, 60, 0.35);
  color: #533579;
}
.pathiv-pricing-smallprint {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #646774;
}
@media (max-width: 767.98px) {
  .pathiv-ngo-banner {
    padding: 26px 22px;
    text-align: center;
    justify-content: center;
  }
}

/* Book a Demo page — compact enough for one laptop screen */
.pathiv-demo-section {
  padding: 42px 0 60px;
  background: var(--pathiv-warm-white);
}
.pathiv-demo-pitch {
  padding-right: 24px;
}
.pathiv-demo-pitch .h6-section-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.3;
}
.pathiv-demo-pitch .h6-paragraph {
  font-size: 0.98rem;
}
.pathiv-demo-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: 0 18px 48px rgba(109, 74, 160, 0.16);
  border-top: 5px solid var(--pathiv-purple);
}
.pathiv-demo-card h3 {
  font-size: 1.3rem;
  color: #252f4b;
  margin-bottom: 4px;
  font-weight: 700;
}
.pathiv-demo-card > p {
  color: #646774;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.pathiv-demo-field {
  margin-bottom: 11px;
}
.pathiv-demo-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #252f4b;
  margin-bottom: 4px;
}
.pathiv-demo-field input,
.pathiv-demo-field select,
.pathiv-demo-field textarea {
  width: 100%;
  border: 1px solid #ddd6ea;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: #252f4b;
  background: #fbfaf7;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.pathiv-demo-field textarea {
  min-height: 64px;
}
.pathiv-demo-card .h6-btn-primary > span {
  padding: 14px 24px;
}
.pathiv-demo-field input:focus,
.pathiv-demo-field select:focus,
.pathiv-demo-field textarea:focus {
  border-color: var(--pathiv-purple);
  box-shadow: 0 0 0 3px rgba(109, 74, 160, 0.14);
  background: #ffffff;
}
.pathiv-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 575.98px) {
  .pathiv-demo-grid {
    grid-template-columns: 1fr;
  }
  .pathiv-demo-card {
    padding: 24px;
  }
  .pathiv-demo-pitch {
    padding-right: 0;
    margin-bottom: 28px;
  }
}

/* Anchored service cards land clear of the header */
.software-card[id] {
  scroll-margin-top: 110px;
}

/* Sign-up page: the template's login layout was a standalone 100vh screen.
   Under the shared navbar it must flow normally, with a compact form that
   fits one laptop screen. */
body.pathiv-subpage .login-signup {
  height: auto;
  min-height: calc(100vh - 84px);
  overflow: visible;
  padding: 24px 40px 48px;
}
body.pathiv-subpage .login-signup__forms-title {
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 8px;
}
body.pathiv-subpage .login-signup__forms {
  padding: 0 56px;
}
body.pathiv-subpage .login-signup__forms .form-group {
  margin-bottom: 14px;
}
body.pathiv-subpage .login-signup__forms .form-group label {
  font-size: 15px;
  margin-bottom: 6px;
}
body.pathiv-subpage .login-signup__forms .form-group input {
  height: 46px;
}
body.pathiv-subpage .login-signup__title {
  font-size: 38px;
}
body.pathiv-subpage .login-signup__logo {
  margin-bottom: 20px;
}
body.pathiv-subpage .login-signup__content {
  padding: 36px 42px;
}
body.pathiv-subpage .login-signup__thumb img {
  max-height: 46vh;
  width: auto;
  max-width: 100%;
}
@media (max-width: 991.98px) {
  body.pathiv-subpage .login-signup {
    padding: 16px 16px 40px;
  }
  body.pathiv-subpage .login-signup__forms {
    padding: 24px 8px 0;
  }
  body.pathiv-subpage .login-signup__forms-title {
    font-size: 20px;
  }
}

/* Built For vertical pages: pain-point + KPI cards */
.pathiv-pain-card {
  background: #ffffff;
  border: 1px solid #eee9f5;
  border-left: 4px solid var(--pathiv-coral);
  border-radius: 14px;
  padding: 22px 24px;
  height: 100%;
}
.pathiv-pain-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #252f4b;
  margin-bottom: 8px;
}
.pathiv-pain-card p {
  color: #646774;
  margin: 0;
  line-height: 1.6;
}
.pathiv-kpi-card {
  background: linear-gradient(160deg, #ffffff 0%, #f5f2fa 100%);
  border: 1px solid #e6e1ef;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pathiv-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(109, 74, 160, 0.16);
}
.pathiv-kpi-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(113deg, #9a77f9, #6d4aa0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d4aa0;
}
.pathiv-kpi-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #252f4b;
  margin: 6px 0 8px;
}
.pathiv-kpi-card p {
  font-size: 0.85rem;
  color: #646774;
  margin: 0;
  line-height: 1.5;
}

/* Case study article */
.pathiv-cs {
  padding: 90px 0 100px;
  background: var(--pathiv-warm-white);
}
.pathiv-cs .container {
  max-width: 860px;
}
.pathiv-cs-meta {
  color: #646774;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.pathiv-cs-meta a {
  color: var(--pathiv-purple);
  font-weight: 600;
}
.pathiv-cs-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: #252f4b;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.pathiv-cs-intro {
  font-size: 1.1rem;
  color: #646774;
  margin-bottom: 30px;
}
.pathiv-cs-hero img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(109, 74, 160, 0.16);
  margin-bottom: 38px;
}
.pathiv-cs-body h2 {
  font-size: 1.4rem;
  color: #252f4b;
  font-weight: 700;
  margin: 30px 0 12px;
}
.pathiv-cs-body p {
  color: #4a4d5c;
  line-height: 1.75;
}
.pathiv-cs-body ul {
  padding-left: 0;
  list-style: none;
}
.pathiv-cs-body ul li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: #4a4d5c;
  line-height: 1.6;
}
.pathiv-cs-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--pathiv-green);
  font-weight: 700;
}
.pathiv-cs-results li::before {
  content: "▲" !important;
  color: var(--pathiv-pink) !important;
  font-size: 0.8rem;
}
.pathiv-cs-cta {
  margin-top: 44px;
  padding: 34px 38px;
  border-radius: 20px;
  background: linear-gradient(113deg, #9a77f9 -2.43%, #6d4aa0 100%);
  color: #ffffff;
}
.pathiv-cs-cta h3 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
}
.pathiv-cs-cta p {
  color: #e3d7f7;
  margin-bottom: 18px;
}
.pathiv-cs-more {
  margin-top: 44px;
  border-top: 1px solid #e6e1ef;
  padding-top: 26px;
}
.pathiv-cs-more h4 {
  color: #252f4b;
  font-weight: 700;
  margin-bottom: 12px;
}
.pathiv-cs-more ul {
  list-style: none;
  padding: 0;
}
.pathiv-cs-more li {
  padding: 5px 0;
}
.pathiv-cs-more a {
  color: var(--pathiv-purple);
  font-weight: 600;
}

/* Respect users who turn off motion — AOS + marquee sliders */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
