.service-card {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front-agente,
.service-card-back-agente {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-card-front-agente {
    background: linear-gradient(45deg, #0004ff, #263cff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}

.service-card-back-agente {
    background: rgb(125, 166, 255);
    color: #1f2937;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-front-biomedico,
.service-card-back-biomedico {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-card-front-biomedico {
    background: linear-gradient(45deg, #ff0000, #fd3030);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}

.service-card-back-biomedico {
    background: rgb(255, 125, 125);
    color: #1f2937;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 24px rgb(255, 0, 0, 0.7);
}

.service-card-front-admin,
.service-card-back-admin {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-card-front-admin {
    background: linear-gradient(45deg, #1d9100, #00fd0d);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
}

.service-card-back-admin {
    background: rgb(125, 255, 131);
    color: #1f2937;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.feature-list li:last-child {
    border-bottom: none;
}

.hover-lift {
    transition: transform 0.2s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* logo footer */

@keyframes girar {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
}
  
#rotation {
    animation: girar 3s linear infinite;
}

li {
    list-style-type: none;
}