#services h1 {
    text-shadow: 3px 5px 3px rgba(0,0,0,.6);
}
#services h2 {
    text-shadow: 2px 4px 2px rgba(250,250,250,.3);
}

#rehabilitation > h2{
    text-shadow: 3px 5px 3px rgba(0,0,0,.6);
}
@media (min-width: 768px) {
    .service-card figure {
        height: 275px;
    }
}
.service-card figure {
    height: 300px;
}
.service-card  figure img{
    height: 100%;
    width: 100%;
}

/* .service-card .service-card-cta {
    background: rgba(0,0,0,.9)
} */

.service-card .service-card-cta:hover,  .service-card-wrapper:nth-child(2) .service-card-cta:hover {
    background: rgba(0,0,0,.7)
}
.service-card a {
    font-weight: bold;
  }

 .service-card-wrapper:nth-child(odd) {
    background: white  var(--tw-gradient-to-position);
 }

 .service-card-wrapper:nth-child(odd) .service-card {
    border: solid 2px  rgb(0 0 0/ var(--tw-text-opacity))
 }

 .service-card-wrapper:nth-child(odd) .service-card-cta-button {
    color: white !important;
    text-shadow: black 0px 0px 2px;
 }

 .service-card-wrapper:nth-child(2) h2 {
    color: white;
 }

 .service-card-wrapper:nth-child(2) {
    background: rgba(0,0,0,.8) var(--tw-gradient-to-position);
 }

 .service-card-wrapper:nth-child(2) .service-card-info h2 {
    color: black;
 }
 .service-card-wrapper:nth-child(2) .service-card-cta {
    border-top: solid 2px rgba(0, 0, 0, .5);
    background: rgb(123 193 200 / var(--tw-text-opacity));
 }
 .service-card-wrapper:nth-child(2) .service-card-cta-button {
    /* color: black !important; */
    color: white !important;
    text-shadow: black 0px 0px 2px;
 }

 .service-card-wrapper:nth-child(2) .service-card-cta:hover .service-card-cta-button  {
    color: white !important;
}

.service-card-wrapper:nth-child(2) .service-card-cta-button:hover {
    color: white !important;
}

/* .service-card-wrapper:nth-child(2) .service-card:nth-child(3) .service-card-cta {
    background: rgba(0,0,0,.7)
} */

.service-card-wrapper .service-card-cta {
    border-top: solid 2px rgba(0, 0, 0, .5);
    background: rgb(123 193 200 / var(--tw-text-opacity));
 }

 /* .service-card-wrapper:nth-child(3) .service-card:nth-child(2) .service-card-cta {
    border-top: solid 2px rgba(0, 0, 0, .5);
    background: rgba(0,0,0,.7)
 } */

.service-card:hover {
    transform:  scale(1.05);
    box-shadow:  5px 5px 15px rgba(0,0,0,.6)
}

.service-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}