/* Service Card Improvements */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-family: 'TildaSans', sans-serif;
    font-weight: 700;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.service-card .card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.learn-more-btn::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    color: var(--text-dark);
}

.learn-more-btn:hover::after {
    transform: translateX(4px);
}
