:root {
  --color-primary: #386ee5;
  --color-primary-dark: #1f4db9;
  --color-secondary: #4a90e2;
  --color-text-dark: #433c6e;
  --color-text-light: #6f6f6f;
  --color-bg: #f5f7fa;
  --color-bg-light: #f8f9ff;
  --color-bg-lighter: #e8f0ff;
  --color-bg-accent: #c8d6ef;
  --color-white: #fff;
  --color-grey: #496092;
  --color-green: #42ba96;
  --color-green-dark: #30876d;
  --color-border: #f1f4f8;
  --color-link: #304269;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg);
  /* color: var(--color-text-dark); */
}

h1 span, h1 {
  font-family: "Overpass", sans-serif;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--color-text-dark);
}

h4 {
  color: var(--color-text-dark);
}

/* Global */

.heading-span {
  color: var(--color-primary);
  font-weight: 900;
}


/* Home Page */

.main {
  background-image: linear-gradient(
    135deg,
    var(--color-bg-light) 0%,
    var(--color-bg-accent) 40%,
    rgba(88, 90, 232, 0.653) 100%
  );
}

/* Navbar */

.navbar {
  background-color: transparent !important;
}

.nav-link {
  /* color: var(--color-grey); */
  color: var(--color-link);
  font-weight: 500;
}

.btn-login {
  background-color: var(--color-white);
  color: var(--color-grey);
}

/* Hero Section */

.hero-content {
  margin-top: 3.5rem;
}

.hero-content p {
  color: var(--color-text-light);
}

.hero-heading {
  color: var(--color-text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  /* letter-spacing: 0.25px; */
  font-family: "Inter", sans-serif;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-height: 550px;
}

.italics {
  color: var(--color-primary);
  font-weight: bold;
  font-style: italic;
  /* text-decoration: underline; */
}

.btn-cta {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.video-icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  stroke-width: 30px;
  fill: none;
}

.btn-hero {
  background-color: var(--color-primary); /* Base blue color */
  color: var(--color-white); /* White text */
  padding: 0.275rem 1.25rem; /* Padding for the button */
  border: none; /* Remove border */
  border-radius: 0.5rem; /* Rounded corners */
  font-size: 1rem; /* Increase font size */
  display: inline-flex; /* Align content with inline-flex */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
  transition: all 0.3s ease-in-out; /* Smooth transition for all properties */
  position: relative; /* Needed for the pseudo-element */
  overflow: hidden; /* Hide overflow */
  cursor: pointer; /* Change cursor to pointer */
  gap: 0.5rem; /* Space between text and icon */
}

.btn-hero:hover {
  background-color: var(--color-primary-dark); /* Slightly darker blue on hover */
  color: var(--color-white); /* Keep text white */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Add a subtle shadow on hover */
  transform: translateY(-4px); /* Slight lift on hover */
}

.btn-hero span {
  display: flex; /* Use flex to align content */
  align-items: center; /* Center items vertically */
  gap: 0.5rem; /* Space between text and icon */
}

/* About Us and Digital Section */
.about-section,
.digital-section {
  overflow: hidden;
}


/* Contact Section */

.form-section {
  max-width: 400px;
  /* box-shadow: 1px 1px 10px 1px #f1f4f8; */
}


.contact-subtitle-main {
  color: var(--color-text-light);
}

.contact-form {
  border-radius: 10px;
}

.contact-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.form {
  padding: 2rem;
}

.form-floating {
  position: relative;
}

.form-control {
  border: 1px solid var(--color-border);
  /* height: calc(3.5rem + 2px); */
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 0;
  border-radius: 0;
  /* padding:2rem; */
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: none;
}

.feature-list > * {
  margin: 0;
}

.feature-list {
  align-items: center;
  margin-bottom: 1.25rem;
}

.feature-list p {
  color: var(--color-green);
}

.feature-icon {
  color: var(--color-green-dark);
  margin-right: 0.75em;
}

.contact-section {
  overflow: hidden; /* Hide any overflow content */
}

.form-section {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease, transform 0.8s ease;
}
.contact-extra {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease, transform 0.8s ease;
}

.form-section.animate-left,
.contact-extra.animate-right {
  opacity: 1;
  transform: translateX(0);
}

/* Blogs Section */
#blogs {
  background-color: var(--color-bg);
}

.blog-posts {
  flex-wrap: nowrap;
  overflow-x: hidden;
  padding: 0;
  gap: 20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.blog-posts::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.blog-posts .col-lg-4 {
  padding: 0 10px;
}

.card {
  border: none;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(56, 110, 229, 0.04);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(56, 110, 229, 0.1);
}

.card-img-top {
  transition: transform 0.3s ease;
  height: 200px;
  object-fit: cover;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);
}

.card-title {
  color: #433c6e;
  font-weight: 700;
  font-family: "Overpass", sans-serif;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-text {
  color: #6f6f6f;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-bottom-flex {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(56, 110, 229, 0.1);
}

.blog-bottom-flex a {
  color: #386ee5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-bottom-flex a:hover {
  color: #2c5aa0;
}

.blog-bottom-flex p {
  color: #6f6f6f;
  font-size: 0.9rem;
  margin: 0;
}

.btn-badge {
  background-color: #386ee5;
  color: white;
  border: none;
  padding: 1px 12px;
}

.blog-secondary-heading {
  color: #433c6e;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0.5rem;
  margin-top: 1.75rem;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #edfbed; /* Green color for the chip */
  color: #2ea155; /* Text color */
  padding: 5px 10px;
  margin: 0;
  border: 2px solid darkgreen;
  border-radius: 10px;
  z-index: 9999;
  display: none;
}

.blog-card {
  border: 1px solid black;
  background-color: #f1f4f8;
  margin-bottom: 1rem;
  border-radius: 10px;
  color: black;
}

/* Blog Navigation Arrows */
.arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
}

.arrow-left,
.arrow-right {
  border: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(56, 110, 229, 0.04);
  border: 2px solid rgba(56, 110, 229, 0.1);
  position: relative;
  overflow: hidden;
}

.arrow-left::before,
.arrow-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #386ee5, #5d87ff);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.arrow-left svg,
.arrow-right svg {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.arrow-left:hover,
.arrow-right:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 4px 15px rgba(56, 110, 229, 0.2);
  border-color: rgba(56, 110, 229, 0.3);
}

.arrow-left:hover::before,
.arrow-right:hover::before {
  opacity: 1;
}

.arrow-left:hover svg,
.arrow-right:hover svg {
  fill: white;
}

.arrow-left:active,
.arrow-right:active {
  transform: translateY(-1px) scale(1.02);
}

/* Disabled state */
.arrow-left[style*="opacity: 0.4"],
.arrow-right[style*="opacity: 0.4"] {
  cursor: not-allowed;
  background: #f0f0f0;
  border-color: #e0e0e0;
}

.arrow-left[style*="opacity: 0.4"]:hover,
.arrow-right[style*="opacity: 0.4"]:hover {
  transform: none;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(56, 110, 229, 0.04);
}

.arrow-left[style*="opacity: 0.4"] svg,
.arrow-right[style*="opacity: 0.4"] svg {
  fill: #ccc;
}

/* Footer */

.footer {
  background: linear-gradient(
    135deg,
    rgba(249, 249, 249, 1) 0%,
    rgba(197, 206, 240, 1) 40%,
    rgba(88, 90, 232, 0.653) 100%
  );
}

.footer-parag {
  padding-left: 0.5rem;
}

.footer-links a {
  color: rgb(31, 0, 82);
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-social-links {
  color: #386ee5;
  padding-right: 1rem;
  text-decoration: none;
}

.footer-contact > * {
  margin: 0;
}

.footer-contact {
  align-items: center;
  margin-bottom: 1rem;
}


/* Our Team start */

.wrapper .title {
  text-align: center;
}

.title h4 {
  display: inline-block;
  padding: 20px;
  color: #585757;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 1.2px;
  word-spacing: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-transform: uppercase;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
}

.wrapper .test_Container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* margin: 40px 0; */
}

.test_Container .test {
  position: relative;
  width: 300px;
  height: 400px;
  margin: 20px;
  overflow: hidden;
  /* box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 1),
    inset 0 0 0 1000px rgba(67, 52, 109, .6); */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.test .imbBx,
.imbBx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  bottom: -160px;
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(15px);
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: bottom 0.5s;
  transition-delay: 0.65s;
}

.contentBx h3 {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  margin: 20px 0 15px;
  line-height: 1.1em;
  transition: 0.5s;
  transition-delay: 0.2s;
  opacity: 0;
  transform: translateY(-20px);
}

.content .contentBx h3 span {
  font-size: 12px;
  font-weight: 300;
  text-transform: initial;
}

.content .sci {
  /* position: relative; */
  /* bottom: 10px; */
  display: flex;
}

.content .sci li {
  list-style: none;
  margin: 0 10px;
  transform: translateY(40px);
  transition: 0.5s;
  opacity: 0;
  transition-delay: calc(0.2s * var(--i));
}

.content .sci li a {
  color: #fff;
  font-size: 24px;
}

/* Our Team end */

/* Social Icons */

.mf-social-side-list {
  position: fixed;
  top: 50vh;
  right: 10px;
  z-index: 100;
}

.mf-social-side-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.mf-social-side-list ul li a {
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  line-height: 35px;
  margin-top: 5px;
  text-align: center;
  text-decoration: none;
  /* display: inline-block; */
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.mf-social-side-list ul li a i {
  font-size: 24px;
}

.mf-social-side-list ul li a[href*='https://api.whatsapp.com/send/?phone=919810281169&text&type=phone_number&app_absent=0']
{
  background: #2ea155;
}
.mf-social-side-list ul li a[href*="mailto"] {
  background: brown;
}
.mf-social-side-list ul li a[href*="tel"] {
  background: rebeccapurple;
}

.team-mobile {
  color: #433c6e;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Service 1 contd */

.why-choose-us-container {
  background-image: linear-gradient(
    135deg,
    rgba(249, 249, 249, 1) 0%,
    rgba(197, 206, 240, 1) 40%,
    rgba(88, 90, 232, 0.653) 100%
  );
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 90%;
  text-align: center;
}

.why-choose-us-container p {
  font-size: 2.5rem;
  color: rgb(34, 0, 65);
  margin-bottom: 1.5rem;
  font-family: "Overpass", sans-serif;
}

.reasons-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  text-align: left;
}

.reasons-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgb(34, 0, 65);
  word-spacing: 2px;
}

.reasons-list li strong {
  color: #386ee5;
}

/* Testimonial Section Styles */
.testimonial-container {
    /* background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f5f7fa 100%); */
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.testimonial-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 110, 229, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.testimonial-container::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: conic-gradient(from 0deg, rgba(56, 110, 229, 0.02), transparent, rgba(56, 110, 229, 0.015));
    border-radius: 50%;
    z-index: 1;
}

.testimonial-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* max-width: 1200px; */
    margin: 0 auto;
    z-index: 2;
}

.testimonial-scroll {
    display: flex;
    transition: transform 0.8s ease-out;
    gap: 30px;
    padding: 30px 0;
}

.testimonial-card {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(56, 110, 229, 0.05);
    flex-shrink: 0;
    height: 100%;
    min-height: 280px;
    border: 1px solid rgba(56, 110, 229, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #386ee5, #5d87ff, #386ee5);
    border-radius: 20px 20px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(56, 110, 229, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid rgba(56, 110, 229, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .client-pic {
    border-color: rgba(56, 110, 229, 0.3);
    transform: scale(1.05);
}

.client-info {
    flex: 1;
}

.client-name {
    margin: 0 0 5px 0;
    font-weight: 700;
    color: #433c6e;
    font-size: 1.1rem;
    font-family: "Overpass", sans-serif;
}

.client-designation {
    margin: 0;
    color: #386ee5;
    font-size: 0.9rem;
    font-weight: 500;
}

.client-content {
    color: #6f6f6f;
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
}

.client-content::before {
    content: '"';
    font-size: 3rem;
    color: rgba(56, 110, 229, 0.2);
    position: absolute;
    top: -10px;
    left: -5px;
    font-family: serif;
    line-height: 1;
}

.client-content p {
    margin: 0;
    padding-left: 25px;
}




.features .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.features .card:hover {
  transform: translateY(-5px);
}


/* PEP Feature Cards */
.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(56, 110, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.features .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}

.features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(56, 110, 229, 0.15);
}

.features .card h3 {
  color: #433c6e;
  font-weight: 600;
}

.features .card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.features h2 {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #433c6e;
}

.features .card h3 {
  color: #386ee5;
  font-weight: 700;
  font-family: "Overpass", sans-serif;
}


.hero-devices {
  position: relative;
  padding: 20px;
}

.dashboard-view {
  width: 100%;
  max-width: 600px;
}

.mobile-view {
  width: 200px;
  right: -30px;
  bottom: -20px;
  transform: rotate(10deg);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-radius: 20px;
}

.feature-highlights {
  list-style: none;
  padding: 0;
}

.feature-highlights li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #433c6e;
}

.feature-highlights i {
  margin-right: 0.5rem;
}

/* WhatsApp Demo Section */
.whatsapp-demo-section {
  background-color: #f5f7fa;
  overflow: hidden;
}

.whatsapp-heading {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #433c6e;
  margin-bottom: 2rem;
}

.whatsapp-subheading {
  font-family: "Overpass", sans-serif;
  font-weight: 600;
  color: #386ee5;
  margin-bottom: 1rem;
}

.whatsapp-description {
  color: #6f6f6f;
  line-height: 1.6;
  font-size: 1.25rem;
}

  .whatsapp-text-container {
    position: relative;
    min-height: 200px;
  }

/* WhatsApp Image Container - Enhanced with Effects */
.iphone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  min-height: 500px;
}

.iphone-frame {
  position: relative;
  max-width: 350px;
  width: 100%;
  z-index: 10;
}

/* Floating Healthcare Icons */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(56, 110, 229, 0.2);
  border: 2px solid rgba(56, 110, 229, 0.1);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  animation: floatUpDown 13s ease-in-out infinite;
  z-index: 20;
}

.floating-icon i {
  font-size: 1.5rem;
  color: #386ee5;
  transition: all 0.3s ease;
}

.floating-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(56, 110, 229, 0.3);
  background: linear-gradient(135deg, #386ee5 0%, #5d87ff 100%);
  z-index: 25;
}

.floating-icon:hover i {
  color: white;
  transform: scale(1.1);
}

/* Icon Positioning */
.icon-1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.icon-2 {
  top: 25%;
  right: 10%;
  animation-delay: 0.5s;
}

.icon-3 {
  top: 45%;
  left: 5%;
  animation-delay: 1s;
}

.icon-4 {
  top: 65%;
  right: 15%;
  animation-delay: 1.5s;
}

.icon-5 {
  bottom: 25%;
  left: 15%;
  animation-delay: 2s;
}

.icon-6 {
  bottom: 10%;
  right: 25%;
  animation-delay: 2.5s;
}

/* Floating Animation */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(2deg);
  }
  66% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

/* Gradient Background Effects */
.iphone-background-effects {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.gradient-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: rotateGradient 20s linear infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  /* background: radial-gradient(circle, rgba(56, 110, 229, 0.1) 0%, transparent 70%); */
  top: -50px;
  right: -50px;
  animation-duration: 25s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  /* background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 60%); */
  bottom: -30px;
  left: -30px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.circle-3 {
  width: 100px;
  height: 100px;
  /* background: radial-gradient(circle, rgba(56, 110, 229, 0.06) 0%, transparent 50%); */
  top: 30%;
  left: -20px;
  animation-duration: 35s;
}

@keyframes rotateGradient {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Tooltip for floating icons */
.floating-icon::before {
  content: attr(data-content);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(67, 60, 110, 0.9);
  /* background: rgba(124, 116, 178, 0.8); */
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.floating-icon:hover::before,
.floating-icon:hover::after {
  opacity: 1;
}

.whatsapp-image-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

  .whatsapp-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s ease-out;
    border-radius: 20px;
    background: transparent;
  }

  .whatsapp-screenshot.active {
    opacity: 1;
    transform: translateX(0);
  }

  /* Desktop: First child should be relative for proper layout */
  @media (min-width: 769px) {
    .whatsapp-screenshot:first-child {
      position: relative;
    }
  }

  /* Desktop: First child should be relative for proper layout */
  @media (min-width: 769px) {
    .whatsapp-screenshot:first-child {
      position: relative;
    }
  }

  /* Mobile: All screenshots should be absolute for proper overlay */
  @media (max-width: 768px) {
    .whatsapp-screenshot:first-child {
      position: absolute;
    }
  }

  /* Smooth Text Animations - All Together */
  .whatsapp-text-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease-out;
  }

  .whatsapp-text-item.active {
    opacity: 1;
    transform: translateX(0);
  }

  .whatsapp-subheading,
  .whatsapp-description {
    transform: none;
    transition: none;
  }

  .whatsapp-subheading {
    font-size: 1.75rem;
  }


/* About Section - Impact Stats */
.about-section {
  position: relative;
  /* background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f5f7fa 100%); */
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(56, 110, 229, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 110, 229, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.about-content,
.about-visual {
  position: relative;
  z-index: 2;
}



/* Digital Section - Connected Cards */
.digital-section {
  position: relative;
  overflow: hidden;
}

.digital-section .container {
  position: relative;
  z-index: 2;
}

/* Connected Cards Container */
.connected-cards-wrapper {
  display: flex;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid #e5e8f0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.vertical-card {
  flex: 1;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

/* Vertical separators between cards */
.vertical-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  bottom: 10%;
  width: 1px;
  background: #e5e8f0;
  transition: background-color 0.3s ease;
}

.card-container {
  padding: 2rem 1.5rem;
  /* height: 350px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: transparent;
  transition: all 0.3s ease;
}

.vertical-card:hover .card-container {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  transform: scale(1.02);
}

.vertical-card:hover::after {
  background: #386ee5;
}

.vertical-card:hover {
  z-index: 5;
}

/* Hover effect for entire wrapper */
.connected-cards-wrapper:hover {
  border-color: #386ee5;
  box-shadow: 0 8px 30px rgba(56, 110, 229, 0.15);
}

.card-header {
  text-align: center;
  flex-shrink: 0;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #386ee5, #5d87ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.card-icon i {
  font-size: 1.5rem;
  color: white;
}

.vertical-card:hover .card-icon {
  transform: scale(1.1);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #433c6e;
  margin-bottom: 0.5rem;
  font-family: "Overpass", sans-serif;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #6f6f6f;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Feature Points */
.feature-points {
  margin: 1.5rem 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-points li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #433c6e;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-points li:last-child {
  margin-bottom: 0;
}

.feature-points li i {
  color: #386ee5;
  font-size: 0.8rem;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.vertical-card:hover .feature-points li {
  color: #2c4a7a;
  transform: translateX(3px);
}

.vertical-card:hover .feature-points li i {
  color: #2c5aa0;
  transform: translateX(2px);
}

.card-footer {
  text-align: center;
  flex-shrink: 0;
}

.learn-more-btn {
  color: #386ee5;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  /* opacity: 0.8; */
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.learn-more-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.vertical-card:hover .learn-more-btn {
  /* opacity: 1; */
  color: #ffffff;
  background: #386ee5;
  border-color: #386ee5;
  transform: translateY(-2px);
}

.vertical-card:hover .learn-more-btn i {
  transform: translateX(3px);
}

/* Mobile styles */
@media screen and (max-width: 991px) {
  .connected-cards-wrapper {
    flex-direction: column;
    height: auto;
  }
  
  .vertical-card:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 10%;
    right: 10%;
    width: auto;
    height: 1px;
  }
  
  .card-container {
    height: auto;
    min-height: 280px;
    padding: 1.5rem;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
  }
  
  .card-icon i {
    font-size: 1.25rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .feature-points {
    margin: 1rem 0;
  }
  
  .feature-points li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-points li i {
    font-size: 0.75rem;
    margin-right: 0.6rem;
  }
}

/* Process Flow Section */
.process-flow-section {
  position: relative;
  overflow: hidden;
}

.process-flow-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 110, 229, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.process-content,
.process-visual {
  position: relative;
  z-index: 2;
}

.process-heading {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #433c6e;
  font-size: 2.5rem;
}

.process-description {
  color: #6f6f6f;
  font-weight: 400;
}

/* Service Features */
.service-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.875rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.feature-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.feature-icon-process {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #386ee5, #5d87ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-icon-process i {
  font-size: 1.25rem;
  color: white;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #433c6e;
  margin-bottom: 0.25rem;
  font-family: "Overpass", sans-serif;
}

.feature-content p {
  color: #6f6f6f;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Process Flow */
.process-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.process-flow {
  position: relative;
  padding: 2rem;
  max-width: 350px;
  width: 100%;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.flow-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.flow-step.active .step-number {
  background: linear-gradient(135deg, #386ee5, #5d87ff);
  transform: scale(1.1);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #e5e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #433c6e;
  margin-right: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.flow-step.active .step-number {
  color: white;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #433c6e;
  margin-bottom: 0.25rem;
  font-family: "Overpass", sans-serif;
}

.step-content p {
  color: #6f6f6f;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

.step-connector {
  position: absolute;
  left: 19px;
  top: 50px;
  width: 3px;
  height: 30px;
  background: linear-gradient(to bottom, #386ee5 0%, #5d87ff 50%, transparent 100%);
  opacity: 0.6;
  animation: connectorGlow 2s ease-in-out infinite alternate;
}

@keyframes connectorGlow {
  0% { opacity: 0.6; transform: scaleY(1); }
  100% { opacity: 0.9; transform: scaleY(1.1); }
}

.flow-step:last-child .step-connector {
  display: none;
}

.central-icon {
  display: none;
}

/* Match about and digital section styling to patient journey */
.about-heading {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #433c6e;
  font-size: 2.5rem;
}

.about-parag {
  color: #6f6f6f;
  font-weight: 400;
  font-size: 1rem;
}

.digital-heading {
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  color: #433c6e;
  font-size: 2.5rem;
}

.digital-parag {
  color: #6f6f6f;
  font-weight: 400;
  font-size: 1rem;
}

/* Scroll animations for new sections */
.whatsapp-demo-section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.whatsapp-demo-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}


/* Media Queries */

@media screen and (max-width: 400px) {
  .logo {
    width: 180px;
  }
}

@media screen and (max-width: 768px) {
  .content {
    display: none;
  }

  .yt-vid {
    width: 300px;
    height: 168px;
  }

  .blog-posts {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 0 10px;
  }

  .blog-posts::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .arrow-container {
    display: none;
  }

  .navbar-index {
    margin: 0 1.25rem;
  }

  .service-card {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border: 1px solid #433c6e;
    border-radius: 10px;
    padding-top: 1rem;
    background-color: #f5f7fa;
  }

  .service-content {
    padding-right: 0;
    padding-left: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .mf-social-side-list {
    position: fixed;
    top: 35vh;
    right: 10px;
    z-index: 100;
  }

  .testimonial-container {
    padding: 20px 0;
  }

  .testimonial-scroll {
    gap: 20px;
    padding: 20px 0;
  }

  .testimonial-card {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    padding: 20px;
    min-height: 250px;
  }

  .client-pic {
    width: 55px;
    height: 55px;
    margin-right: 15px;
  }

  .client-name {
    font-size: 1rem;
  }

  .client-designation {
    font-size: 0.85rem;
  }

  .client-content {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .client-content::before {
    font-size: 2rem;
    top: -5px;
    left: -3px;
  }

  .client-content p {
    padding-left: 15px;
  }

  /* Blog arrows mobile */
  .arrow-container {
    margin-top: 1.5rem;
    gap: 15px;
  }

  .arrow-left,
  .arrow-right {
    width: 50px;
    height: 50px;
  }

  .arrow-left svg,
  .arrow-right svg {
    width: 35px;
    height: 35px;
  }

  /* WhatsApp Demo Section Mobile */
  .whatsapp-demo-section {
    padding: 3rem 0 3.5rem 0; /* Add extra bottom padding */
  }

  .whatsapp-heading {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }

  .whatsapp-subheading {
    font-size: 1.1rem;
  }

  .whatsapp-description {
    font-size: 0.98rem;
  }

  .whatsapp-text-container {
    min-height: 270px;
    /* margin-bottom: 2rem; */
  }

  .iphone-mockup {
    min-height: 450px;
    padding: 1rem;
  }

  .iphone-frame {
    max-width: 320px;
    width: 100%;
  }

  .whatsapp-image-container {
    border-radius: 15px;
  }

  .about-heading,
  .digital-heading {
    font-size: 1.8rem;
  }

  .about-parag,
  .digital-parag {
    font-size: 0.95rem;
  }

  .whatsapp-image-container {
    max-height: 350px;
    min-height: 300px;
  }

  .whatsapp-screenshot {
    max-height: 350px;
    object-fit: contain;
  }

  .iphone-frame {
    max-width: 280px;
    width: 100%;
  }

  /* Mobile styles for floating icons */
  .iphone-mockup {
    min-height: 400px;
    padding: 1rem;
  }

  .floating-icon {
    width: 40px;
    height: 40px;
  }

  .floating-icon i {
    font-size: 1rem;
  }

  .gradient-circle {
    opacity: 0.3;
  }

  .circle-1 {
    width: 120px;
    height: 120px;
  }

  .circle-2 {
    width: 100px;
    height: 100px;
  }

  .circle-3 {
    width: 80px;
    height: 80px;
  }

  /* Mobile styles for new sections */

  .service-features {
    margin-bottom: 1.5rem;
  }

  .feature-item {
    margin-bottom: 1rem;
  }

  .feature-icon-process {
    width: 40px;
    height: 40px;
  }

  .feature-icon-process i {
    font-size: 1rem;
  } 

  .feature-content h4 {
    font-size: 1rem;
  }

  .feature-content p {
    font-size: 0.9rem;
  }

  .process-flow {
    padding: 1rem;
    max-width: 300px;
  }

  .flow-step {
    margin-bottom: 1.5rem;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .step-content h5 {
    font-size: 0.95rem;
  }

  .step-content p {
    font-size: 0.8rem;
  }



  .vertical-card {
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
  }

  .card-icon i {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-back {
    padding: 1.5rem;
  }

  .feature-list-vertical li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .process-heading {
    font-size: 1.8rem;
  }

  .process-description {
    font-size: 0.95rem;
  }
}

@media screen and (min-width: 1400px) {
  p {
    font-size: 1.1rem;
  }
}


/* ALL HOVERS */

@media screen and (min-width: 769px) {
  .navbar-hero,
  .hero-section {
    margin: 0 5rem 2rem 5rem;
  }

  .hero-heading{
    font-size: 2.75rem;
  }

  .team-mobile {
    display: none;
  }

  .mf-social-side-list ul li a:hover {
    opacity: 0.9;
    transform: scale(1.2);
  }

  .test:hover .content .sci li {
    transform: translateY(0);
    opacity: 1;
  }

  .test:hover .content .contentBx h3 {
    opacity: 1;
    transform: translateY(0);
  }

  .test:hover .content {
    bottom: 0;
    transition-delay: 0s;
  }

  .software-card:hover {
    background-color: #ebeef3;
    border-radius: 10px;
    border: 2px solid #433c6e;
    transform: scale(1.1);
  }

  .footer-social-links:hover {
    color: white;
  }

  .footer-links a:hover {
    color: white;
  }





  .btn-cta:hover {
    background-color: white;
    color: #386ee5;
    border: 1px solid #386ee5;
  }

  .nav-link:hover {
    color: rgb(241, 241, 241);
  }
}

/* Lazy Loading Styles */
.lazy-image {
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.3s ease;
  filter: blur(2px);
  transform: scale(1.02);
}

.lazy-image.loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.lazy-image.error {
  opacity: 0.5;
  filter: grayscale(100%);
  background-color: #f0f0f0;
  position: relative;
}

.lazy-image.error::after {
  content: "Failed to load image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
  font-size: 0.8rem;
  text-align: center;
  pointer-events: none;
}

/* Specific enhancements for blog and team images */
.blog-posts .lazy-image {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.team .lazy-image,
.test .imbBx .lazy-image {
  border-radius: 50%;
  transition: opacity 0.6s ease-in-out, transform 0.3s ease, filter 0.3s ease;
}

.team .lazy-image.loaded,
.test .imbBx .lazy-image.loaded {
  transform: scale(1);
  filter: none;
}

/* Loading shimmer effect for placeholders */
@keyframes shimmer {
  0% {
    background-position: -300px 0;
  }
  100% {
    background-position: 300px 0;
  }
}

.lazy-image[src*="data:image/svg+xml"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 300px 100%;
  animation: shimmer 1.5s infinite;
}

/* Disable hover transform effects for vertical cards to prevent UI shift */
.vertical-card:hover .card-container,
.vertical-card:hover .card-icon,
.vertical-card:hover .feature-points li,
.vertical-card:hover .feature-points li i,
.vertical-card:hover .learn-more-btn {
  transform: none !important;
}

/* Pain-Point Section - Redesigned */
.pain-section {
  /* background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f5f7fa 100%); */
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

/* Enhanced Header Styling */
.pain-header {
  position: relative;
  z-index: 2;
}

.pain-badge {
  display: inline-block;
  background: linear-gradient(135deg, #386ee5, #4a90e2);
  border-radius: 50px;
  padding: 8px 24px;
  box-shadow: 0 4px 15px rgba(56, 110, 229, 0.2);
  transform: translateY(0);
  /* animation: badgeFloat 3s ease-in-out infinite; */
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.badge-text {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pain-heading {
  font-family: "Overpass", sans-serif;
  font-weight: 800;
  color: #433c6e;
  font-size: 2.5rem;
  line-height: 1.2;
}

.pain-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pain Points Grid */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

/* Pain Point Cards */
.pain-point-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(56, 110, 229, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.pain-point-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.pain-point-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #386ee5, #4a90e2, #386ee5);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pain-point-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(56, 110, 229, 0.15);
  border-color: rgba(56, 110, 229, 0.3);
}

.pain-point-card:hover::before {
  transform: scaleX(1);
}

/* Card Header */
.pain-point-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pain-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #386ee5, #4a90e2);
  border-radius: 15px;
  transform: rotate(0deg);
  transition: transform 0.4s ease;
}

.pain-point-card:hover .pain-icon-bg {
  transform: rotate(45deg);
}

.pain-icon-wrapper i {
  color: white;
  font-size: 1.5rem;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease;
}

.pain-point-card:hover .pain-icon-wrapper i {
  transform: scale(1.1);
}

.pain-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e8f0ff;
  font-family: "Overpass", sans-serif;
  line-height: 1;
}

/* Card Content */
.pain-content {
  margin-bottom: 1.5rem;
}

.pain-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #433c6e;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

/* Problem and Solution Sections */
.pain-problem,
.pain-solution {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  position: relative;
}

.pain-problem {
  background: linear-gradient(135deg, #f4f5fe, rgba(148, 149, 238, 0.653));
  border-left: 4px solid #386ee5;
}

.pain-solution {
  background: linear-gradient(135deg, #fbfdff, #d4eaff);
  border-left: 4px solid #4a90e2;
}

.problem-indicator,
.solution-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.problem-indicator {
  color: #386ee5;
}

.solution-indicator {
  color: #4a90e2;
}

.problem-indicator i,
.solution-indicator i {
  font-size: 1rem;
}

.pain-problem p,
.pain-solution p {
  margin: 0;
  color: #2d3436;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Stats Section */
.pain-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
  border-radius: 12px;
  border: 1px solid rgba(56, 110, 229, 0.1);
  transition: transform 0.3s ease;
}

.pain-point-card:hover .stat-item {
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #386ee5;
  font-family: "Overpass", sans-serif;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA Section */
.pain-cta {
  text-align: center;
}

.pain-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.pain-learn-more:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 110, 229, 0.3);
}

.pain-learn-more i {
  transition: transform 0.3s ease;
}

.pain-learn-more:hover i {
  transform: translateX(3px);
}

/* Bottom CTA Section */
.pain-cta-section {
  margin: 4rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 20px;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.cta-heading-sm {
  font-family: "Overpass", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description-sm {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-heading {
  font-family: "Overpass", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.cta-description {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-primary {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Background Decorative Elements */
.pain-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 110, 229, 0.1), rgba(74, 144, 226, 0.1));
  animation: float 6s ease-in-out infinite;
}

.bg-circle-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 5%;
  animation-delay: 0s;
}

.bg-circle-3 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(56, 110, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
  opacity: 0.5;
}


/* Responsive Design */
@media (max-width: 768px) {

  .step-connector {
   left: 16px;
  }

  .pain-section {
    padding: 2rem 0 0 0;
  }

  .pain-heading {
    font-size: 2rem;
  }
  
  .pain-subtitle {
    font-size: 1rem;
  }
  
  .pain-points-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .pain-point-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .pain-stats {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-heading {
    font-size: 1.5rem;
  }
  
  .bg-circle {
    display: none;
  }

  /* Ensure pain point cards are always visible on mobile */
  .pain-point-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .testimonial-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
        margin-right: 15px;
    }

    .testimonial-scroll {
        gap: 15px;
        padding: 20px 0;
        /* Enable smooth scrolling on mobile */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar on mobile but keep functionality */
    .testimonial-scroll::-webkit-scrollbar {
        display: none;
    }

    .testimonial-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media (max-width: 480px) {
  .pain-point-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .pain-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .pain-icon-wrapper i {
    font-size: 1.2rem;
  }
  
  .pain-number {
    font-size: 2rem;
  }
  
  .pain-title {
    font-size: 1.3rem;
  }
}

/* Enhanced Healthfort highlighting */
.healthfort-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #386ee5 0%, #4a90e2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(56, 110, 229, 0.1);
}

.healthfort-highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #386ee5, #4a90e2, #386ee5);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineExpand 0.6s ease-out forwards;
}

@keyframes underlineExpand {
  to {
    transform: scaleX(1);
  }
}

/* Statistics Banner */
.stats-banner {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f5f7fa 100%);
}

.stat-box {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-box.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Elements */
.hero-badge {
  background: rgba(56, 110, 229, 0.1);
  border: 1px solid rgba(56, 110, 229, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #386ee5;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: #433c6e;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.6;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-benefits .benefit-item {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #433c6e;
}

/* .stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #386ee5;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
  margin-top: 0.25rem;
} */

/* .btn-outline-primary {
  background-color: transparent;
  border: 2px solid #386ee5;
  color: #386ee5;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #386ee5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(56, 110, 229, 0.3);
} */

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #386ee5 0%, #585ae8 100%);
  color: white;
  padding: 4rem 0;
}

.stats-section .stat-number {
  color: white;
  font-size: 3rem;
}

.stats-section .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Benefits Section */
.benefits-section {
  background: #f8f9fa;
  padding: 5rem 0;
}

.benefits-section .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.benefits-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 110, 229, 0.1);
  color: #386ee5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2rem;
  }
  
  .cta-heading {
    font-size: 2rem;
  }
  
  .hero-stats {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .hero-benefits .col-6 {
    margin-bottom: 0.5rem;
  }
}

/* --- Feature Card Hover Effect --- */
.feature-card {
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(88, 90, 232, 0.15), 0 1.5px 6px rgba(67, 60, 110, 0.08);
  transform: translateY(-6px) scale(1.03);
}
.feature-card:hover .feature-icon-wrapper i {
  color: #585ae8 !important;
  transition: color 0.3s;
}

/* --- Why PEP Timeline/Stepper --- */
.why-pep-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 20px;
  border-left: 3px solid #e0e3f7;
}
.why-pep-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}
.why-pep-step:last-child {
  margin-bottom: 0;
}
.why-pep-icon-circle {
  min-width: 48px;
  min-height: 48px;
  background: #585ae8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1.25rem;
  box-shadow: 0 2px 8px rgba(88,90,232,0.10);
  position: relative;
  z-index: 1;
}
/* .why-pep-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  width: 3px;
  height: calc(100% - 48px);
  background: #e0e3f7;
  z-index: 0;
} */
.why-pep-content {
  flex: 1;
}
@media (max-width: 600px) {
  .why-pep-timeline {
    padding-left: 0;
    border-left: none;
  }
  .why-pep-step {
    flex-direction: column;
    align-items: flex-start;
  }
  .why-pep-icon-circle {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  .why-pep-step:not(:last-child)::after {
    left: 23px;
    top: 48px;
    height: 30px;
  }
}

/* --- How it Works Horizontal Flow --- */
.how-works-flow {
  gap: 3.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.how-works-step {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.5rem 1.25rem;
  box-shadow: 0 2px 12px rgba(88,90,232,0.07);
  min-width: 220px;
  transition: box-shadow 0.3s, transform 0.3s;
  z-index: 1;
}
.how-works-step:hover {
  box-shadow: 0 8px 32px rgba(88, 90, 232, 0.15), 0 1.5px 6px rgba(67, 60, 110, 0.08);
  transform: translateY(-4px) scale(1.04);
}
.how-works-circle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #585ae8 60%, #c5cef0 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 0.5rem auto;
  box-shadow: 0 2px 8px rgba(88,90,232,0.10);
}
.how-works-arrow {
  position: absolute;
  right: -2.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #c5cef0;
  z-index: 2;
}
.how-works-step:last-child .how-works-arrow {
  display: none;
}
@media (max-width: 900px) {
  .how-works-flow {
    flex-direction: column !important;
    gap: 1.5rem;
  }
  .how-works-step {
    min-width: 0;
    width: 100%;
  }
  .how-works-arrow {
    display: none !important;
  }
}

/* Why PEP image responsive sizing */
.why-pep-img {
  max-width: 100%;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 991.98px) {
  .why-pep-img {
    max-height: 220px;
    margin-bottom: 1.5rem;
  }
}



