/* Services Section */
.services {
    padding: 2rem 1rem;
    background-color: #f4f4f4;
    text-align: center;
    margin-top: 200px;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-item img {
    width: 300px;
    height: 300px;
    margin-bottom: 1rem;
    border-radius: 6%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0077cc;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services h2 {
        font-size: 1.8rem;
    }

    .service-item h3 {
        font-size: 1.3rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .services h2 {
        font-size: 1.5rem;
    }

    .services-container {
        grid-template-columns: 1fr; /* Single column for small screens */
    }
}
