﻿/* CSS for the service card */
.service-card {
    position: relative;
    display: block; /* Make the anchor tag behave like a block element */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
    text-decoration: none; /* Remove underline for links */
    color: inherit; /* Inherit text color */
    cursor: pointer; /* Change cursor to pointer */
}

    .service-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-color: #ccc; /* Slightly darker border on hover */
    }

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 15px;
    text-align: center;
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.service-excerpt {
    font-size: 14px;
    color: #666;
}

/* Overlay effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
}

.service-card:hover .overlay {
    opacity: 1;
}

.overlay-text {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.disabled {
    pointer-events: none; /* Prevents clicking */
    cursor: default; /* Changes cursor to the default icon */
    color: grey; /* Optional: Changes the color to grey (or any other color to indicate disabled state) */
    text-decoration: none; /* Optional: Removes underline from the link */
    background: grey !important;
}
