/* Services Section Styles */
.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: inline-block;
    margin-bottom: 20px;
}

.service-image {
    height: 280px;
    overflow: hidden;
    border-radius: 6px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    color: #5f0404;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.service-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.service-content {
    position: relative;
    overflow: hidden;
}

.service-content::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(95, 4, 4, 0.1);
    transition: bottom 0.4s ease;
    z-index: 1;
    border-radius: 0 0 6px 6px;
}

.service-card:hover .service-content::after {
    bottom: 0;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 20px;
    }
}
