.service-section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: service-fadeInDown 0.8s ease;
}
.service-section-header h1 {
    font-size: 3.5rem;
    color: black;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.service-section-header .service-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    margin: 20px auto;
    border-radius: 5px;
}
.service-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px;
}
.service-service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: service-fadeInUp 0.8s ease;
}
.service-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.service-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-service-card:hover::before {
    transform: scaleX(1);
}
.service-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.service-image-container img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-service-card:hover .service-image-container img {
    transform: scale(1.1) rotate(2deg);
}
.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-service-card:hover .service-image-overlay {
    opacity: 1;
}
.service-card-content {
    padding: 30px;
    background: white;
}
.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 10px;
}
.service-card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}
.service-card-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}
.service-card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.3s ease;
}
.service-service-card:hover .service-card-icon {
    transform: rotate(360deg) scale(1.1);
}
@keyframes service-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes service-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .service-section-header h1 {
        font-size: 2.5rem;
    }
    .service-services-grid {
        grid-template-columns: 1fr !important; /* Ensures one card per row on mobile */
        gap: 30px;
        padding: 10px; /* Reduced padding for mobile */
    }
    .service-card-content {
        padding: 25px;
    }
    .service-image-container {
        height: 250px; /* Slightly reduced height for better mobile fit */
    }
    .service-card-icon {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}