/* NextOps Services Section Enhancements */

/* Service Cards Modern Styling */
.card-style06 {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(74, 144, 226, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card-style06::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.card-style06:hover::before {
    left: 100%;
}

.card-style06:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
    border-color: var(--accent-cyan);
}

/* Service Icons Enhancement */
.service-img {
    position: relative;
    margin-bottom: 1.5rem;
}

.icon-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: all 0.4s ease;
    z-index: 1;
}

.card-style06:hover .icon-circle {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
}

.service-img img {
    position: relative;
    z-index: 2;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: all 0.3s ease;
}

.card-style06:hover .service-img img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(1204%) hue-rotate(166deg) brightness(103%) contrast(101%);
    transform: scale(1.1);
}

/* Service Titles */
.card-style06 h3 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.card-style06 h3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.card-style06:hover h3 a::after {
    width: 100%;
}

/* Service Descriptions */
.card-style06 .card-body p {
    color: var(--gray-600);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.card-style06:hover .card-body p {
    color: var(--gray-700);
}

/* Service Buttons Enhancement */
.card-btn {
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.main-butn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hover-butn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.card-style06:hover .hover-butn {
    opacity: 1;
}

.card-style06:hover .main-butn {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-accent);
}

.inner-butn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.inner-butn:hover .btn-icon {
    transform: translateX(5px);
}

/* Services Section Title Enhancement */
.section-title02 .sm-title.tech-gradient {
    position: relative;
    padding-left: 20px;
}

.section-title02 .sm-title.tech-gradient::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .card-style06 {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .service-img img {
        width: 60px !important;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .card-style06:hover {
        transform: translateY(-5px);
    }
}

/* Loading Animation for Service Cards */
.service-card-loading {
    opacity: 0;
    transform: translateY(30px);
    animation: serviceCardFadeIn 0.6s ease forwards;
}

@keyframes serviceCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation Delays */
.card-style06:nth-child(1) { animation-delay: 0.1s; }
.card-style06:nth-child(2) { animation-delay: 0.2s; }
.card-style06:nth-child(3) { animation-delay: 0.3s; }
.card-style06:nth-child(4) { animation-delay: 0.4s; }
.card-style06:nth-child(5) { animation-delay: 0.5s; }
.card-style06:nth-child(6) { animation-delay: 0.6s; }

/* Service Section Background Enhancement */
.services-section {
    position: relative;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}