/* Base styles */


/* Header styles */
.header {
    text-align: center;
    margin-bottom: 4rem;
}

.header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgb(17, 24, 39);
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.25rem;
    color: rgb(75, 85, 99);
    max-width: 42rem;
    margin: 0 auto;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service card */
.service-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Image container */
.image-container {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .image-container img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Content */
.content {
    padding: 1.5rem;
}

.title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.title svg {
    width: 1.5rem;
    height: 1.5rem;
    color: rgb(37, 99, 235);
}

.title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(31, 41, 55);
}

.content p {
    color: rgb(75, 85, 99);
    line-height: 1.5;
}