/* Blinking Animation for Highlighted Service */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.sps-price-blink {
    animation: blink 1.5s infinite;
    font-weight: bold;
    color: #D53F3F; /* A red color for attention */
    background-color: #fffde7;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Service Grid Layout */
.sps-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Service Card Styling */
.sps-service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: box-shadow 0.3s ease-in-out;
}

.sps-service-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.sps-service-card.sps-highlight {
    border: 2px solid #D53F3F;
    box-shadow: 0 0 10px rgba(213, 63, 63, 0.5);
}

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

.sps-service-content {
    padding: 15px;
    flex-grow: 1;
}

.sps-service-content h3 {
    margin-top: 0;
}

.sps-service-footer {
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Form Styling */
.sps-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.sps-form h2 {
    margin-top: 0;
}
.sps-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.sps-form input[type="text"],
.sps-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.sps-form input[type="file"] {
    padding: 10px 0;
}
.sps-form input[type="submit"],
.sps-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
}
.sps-form input[type="submit"]:hover,
.sps-button:hover {
    background-color: #005a87;
}