/* Custom Service Section Styles */

.service-area {
    background: #f8f9fa !important;
}

.single-service {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden;
    position: relative;
}

.single-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(217, 22, 116, 0.1) !important;
    border-color: #d91674 !important;
}

.service-icon img {
    transition: all 0.3s ease;
    border-radius: 15px !important;
    border: 3px solid #d91674 !important;
}

.service-icon img:hover {
    transform: scale(1.05);
}

.default-service-icon {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #d91674, #48336b) !important;
    border-radius: 50% !important;
    margin: 0 auto;
}

.default-service-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(217, 22, 116, 0.3);
}

.service-content h4 {
    color: #d91674 !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    font-size: 1.4rem !important;
}

.service-content p {
    color: #666 !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}

.btn-outline-primary {
    border-color: #d91674 !important;
    color: #d91674 !important;
    background: transparent !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.btn-outline-primary:hover {
    background-color: #d91674 !important;
    border-color: #d91674 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(217, 22, 116, 0.3) !important;
}

.btn-primary {
    background-color: #d91674 !important;
    border-color: #d91674 !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background-color: #48336b !important;
    border-color: #48336b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(72, 51, 107, 0.3) !important;
}

/* Service section heading */
.service-area .section-heading h2 {
    color: #2c3e50 !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.service-area .section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d91674, #48336b);
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-service {
        margin-bottom: 30px;
    }
    
    .service-icon img,
    .default-service-icon {
        height: 100px !important;
        width: 100px !important;
    }
    
    .default-service-icon {
        font-size: 2rem !important;
    }
    
    .service-content h4 {
        font-size: 1.2rem !important;
    }
}

/* Loading animation for images */
.service-icon img {
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Hover effect for the entire service card */
.single-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(217, 22, 116, 0.05), rgba(72, 51, 107, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    pointer-events: none;
}

.single-service:hover::before {
    opacity: 1;
}
