/* Modern Services Section Styling */
.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-media {
    position: relative;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1);
}

.service-content {
    padding: 20px;
    position: relative;
    z-index: 1;
    background: white;
}

.service-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.service-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

.service-hover-content {
    display: none;
}

.service-card:hover .service-hover-content {
    display: none;
}

.service-details {
    display: none;
}

.service-footer {
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    margin-top: 20px;
}

.btn-primary {
    background: var(--primary-color, #3d5af1);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.btn-primary:hover .btn-hover {
    transform: translateX(0);
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}
