/* Service Cards - Single Line Description */
.service-description {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: 1.2em;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

/* Mobile-friendly expanded description */
.service-description.expanded {
    display: block;
    height: auto;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Touch indicator for mobile */
@media (max-width: 768px) {
    .service-description::after {
        content: " 👆";
        font-size: 0.8em;
        opacity: 0.7;
    }
    
    .service-description.expanded::after {
        content: " 👇";
    }
}

/* Service title with tooltip */
.service-title {
    cursor: help;
}

/* Ensure consistent card heights */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card .card-footer {
    margin-top: auto;
}
