/* Services Section Styles */
#services {
    padding: 50px 20px;
    text-align: center;
}

#services h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    /* Highlight the section title */
}

/* Service Grid Styles */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 50px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.service-item img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #4accbf;
}

.service-item a {
    text-decoration: none;
}

.service-item h3 {
    margin: 15px 0;
    font-size: 1.5em;
    color: #333;
}

.service-item p {
    font-size: 1em;
    color: #666;
}

/* Hover Effect */
.service-item:hover {
    transform: translatey(-5px);
    filter: blur(2px);
    
}
.service-item:hover::after{
    content: "Click for More";
        /* Add overlay text */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 1.5rem;
        background-color: rgba(0, 0, 0, 0.7);
        /* Semi-transparent background */
        padding: 10px 20px;
        border-radius: 5px;
        z-index: 2;
        opacity: 1;
        /* Make the text visible */
        transition: opacity 0.1s ease;

}

@media (max-width: 768px) {

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(175px, 1fr));
    gap: 20px;
    padding: 50px;
    justify-content: center;
}
 
}