.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.service-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card .overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    color: white;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.service-card:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.service-card p {
    margin: 0;
    font-size: 1rem;
}

.check-engine-icon {
    width: 4rem;
    height: auto;
    vertical-align: bottom;
    margin-left: 10px;
    animation: blinkRandom 3s infinite ease-in-out;
}

/* Keyframes for flickering effect */
@keyframes blinkRandom {
    0%, 100% {
        opacity: 1;
    }
    30% {
        opacity: 0.4;
    }
    60% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.6;
    }
}


.warning-section {
    margin: 0;
    background-image: url("/assets/images/flex.webp");
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* Blends the color with the image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: var(--accent);
    padding: 6rem 5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.warning-section p {
    margin: 40px auto;
    max-width: 1000px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .warning-section p {
        margin: 20px auto;
        max-width: 1000px;
    }

    .warning-section {
        padding: 3rem 2rem;
    }
}


