.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 380px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  }



  .service-card:hover .bg-image {
    transform: scale(1.07);
  }

  /* Gradient overlay */
  .service-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(10, 20, 40, 0.92) 0%,
      rgba(10, 20, 40, 0.45) 55%,
      rgba(10, 20, 40, 0.1) 100%
    );
    transition: background 0.4s ease;
  }

  .service-card:hover .overlay {
    background: linear-gradient(
      to top,
      rgba(10, 20, 40, 0.97) 0%,
      rgba(10, 20, 40, 0.6) 60%,
      rgba(10, 20, 40, 0.2) 100%
    );
  }

  .service-card .content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }



 



  /* Tag pill */
  .service-card .tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffaa55;
    background: rgba(255, 160, 70, 0.15);
    border: 1px solid rgba(255, 160, 70, 0.35);
    border-radius: 50px;
    padding: 3px 12px;
    margin-bottom: 0.6rem;
  }

  .service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .service-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  /* CTA link */
  .service-card .cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .service-card:hover .cta-link {
    opacity: 1;
    transform: translateY(0);
  }

  .service-card .cta-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }

  .service-card .cta-link:hover i {
    transform: translateX(4px);
  }