/* Main Section Styles */
  .home-care-services {
    background: url("/assets/healthcare/images/services/backgorund_section_img.svg");
    background-color: #e0f7ff;
    padding-bottom: 60px;
  }

  /* Service Steps Container */
  .service-steps-container {
    position: relative;
  }

  /* Steps Row Margin */
  .steps-row {
    margin-left: 250px;
    margin-right: 100px;
  }

  /* Step Container Positioning */
  .step-1-container,
  .step-3-container {
    margin-top: 0;
  }

  .step-2-container {
    margin-top: 80px; 
  }

  .left-side-image {
    max-width: 90%;
  }
 
  .step-1-container,
  .step-2-container,
  .step-3-container {
    padding: 0 20px;
  }

  /* Step Number Circle */
  .step-number {
    width: 35px;
    height: 30px;
    background: #2196f3;
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 13px;
  }

  /* Service Card Styles */
  .service-card-content {
    border-radius: 0px 30px;
    background: white;
    padding: 15px;
    width: 260px;
    height: 170px;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.24);
  }

  /* Card Title and Text */
  .service-card-content .card-title {
    color: #2196f3;
    font-weight: 700;
    font-size: 16px;
    padding-top: 15px;
  }

  .service-card-content .card-text {
    color: #0c0c0c;
    font-size: 13px;
    text-align: center;
    margin: 0;
  }

  /* Arrow Positioning and Animation */
  .arrow-1-to-2 {
    position: absolute;
    top: 150px;
    left: 41%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .arrow-2-to-3 {
    position: absolute;
    top: -10px;
    left: 67%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .arrows-container path {
    animation: dashFlow 3s linear infinite;
  }

  @keyframes dashFlow {
    0% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: -20;
    }
  }

  /* Background Decorative Elements */
  .bg-decoration {
    position: absolute;
    opacity: 0.05;
  }

  .bg-decoration-left {
    top: 30px;
    left: 50px;
  }

  .bg-decoration-right {
    bottom: 30px;
    right: 50px;
  }

  .bg-icon {
    font-size: 60px;
    color: #2196f3;
  }

  /* Responsive Design */
  @media (max-width: 991px) {
    .arrows-container {
      display: none !important;
    }

    .service-card {
      margin-bottom: 2rem;
    }

    .arrow-1-to-2,
    .arrow-2-to-3 {
      display: none;
    }

   
    .col-lg-3 {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .steps-row {
      margin-left: 0;
    }

    .step-2-container {
      margin-top: 0; 
    }
  }

  @media (max-width: 768px) {
    .home-care-services {
      padding: 3rem 0;
    }

    .service-card-content {
      padding: 20px 15px;
      min-height: 140px;
    }

    .section-title {
      font-size: 1.5rem;
    }

    .service-card .card-title {
      font-size: 16px !important;
    }

    .service-card .card-text {
      font-size: 13px !important;
    }
  }

  @media (max-width: 576px) {
    .service-card-content {
      padding: 8px 12px;
      min-height: 120px;
      width: 320px;
    }

    .step-number {
      width: 40px !important;
      height: 40px !important;
      font-size: 16px !important;
    }

    .service-card .card-title {
      font-size: 14px !important;
    }

    .service-card .card-text {
      font-size: 12px !important;
    }
  }


@media (max-width: 991px) {

  /* Hide the desktop curved arrows */
  .arrow-1-to-2,
  .arrow-2-to-3 {
    display: none !important;
  }

  /* Reset the row that holds the cards */
  .steps-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
   
  }

  /* Remove the staggered top margin */
  .step-2-container { margin-top: 0 !important; }

  /* Card width on mobile */
  .service-card-content {
    width: 100% !important;
    max-width: 340px;
  }

  .mobile-step-connector {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4px 0;
  }

  .mobile-step-connector svg {
    width: 36px;
    height: 50px;
  }

  .mobile-step-connector .dotted-line {
    stroke: #0C0C0C;
    stroke-width: 2;
    stroke-dasharray: 6,4;
    fill: none;
  }

  .mobile-step-connector .arrow-head {
    fill: #2196F3;
  }
}