/* NEXITENCE TECHNOLOGY LLP - Services Page Specific Styles */

/* Services Hero Section */
.nexitence-services-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nexitence-services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.nexitence-services-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexitence-services-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
}

.nexitence-services-hero-content {
    text-align: center;
    color: var(--nexitence-white);
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.nexitence-services-hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.nexitence-services-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Services Overview Section */
.nexitence-services-overview {
    padding: 6rem 0;
    background: var(--nexitence-white);
}

.nexitence-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.nexitence-service-card {
    background: var(--nexitence-light);
    padding: 3rem;
    border-radius: var(--nexitence-border-radius);
    box-shadow: var(--nexitence-shadow);
    text-align: center;
    transition: var(--nexitence-transition);
    position: relative;
    overflow: hidden;
}

.nexitence-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--nexitence-gradient);
}

.nexitence-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.nexitence-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nexitence-gradient);
    border-radius: 50%;
    color: var(--nexitence-white);
    font-size: 2rem;
    transition: var(--nexitence-transition);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.nexitence-service-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

.nexitence-service-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--nexitence-dark);
    margin-bottom: 1.5rem;
}

.nexitence-service-description {
    color: var(--nexitence-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.nexitence-service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.nexitence-service-features li {
    color: var(--nexitence-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.nexitence-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nexitence-primary);
    font-weight: bold;
}

.nexitence-service-link {
    color: var(--nexitence-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--nexitence-transition);
}

.nexitence-service-link:hover {
    color: var(--nexitence-accent);
    transform: translateX(5px);
}

/* Technical Capabilities Section */
.nexitence-tech-capabilities {
    padding: 6rem 0;
    background: var(--nexitence-light);
}

.nexitence-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.nexitence-capability-category {
    background: var(--nexitence-white);
    padding: 2.5rem;
    border-radius: var(--nexitence-border-radius);
    box-shadow: var(--nexitence-shadow);
    transition: var(--nexitence-transition);
    position: relative;
    overflow: hidden;
}

.nexitence-capability-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nexitence-gradient);
}

.nexitence-capability-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.nexitence-capability-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nexitence-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.nexitence-tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nexitence-tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--nexitence-light);
    border-radius: 8px;
    transition: var(--nexitence-transition);
}

.nexitence-tech-item:hover {
    background: var(--nexitence-primary);
    color: var(--nexitence-white);
    transform: scale(1.05);
}

.nexitence-tech-item i {
    font-size: 1.5rem;
    color: var(--nexitence-primary);
    transition: var(--nexitence-transition);
}

.nexitence-tech-item:hover i {
    color: var(--nexitence-white);
}

.nexitence-tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Process Section */
.nexitence-process {
    padding: 6rem 0;
    background: var(--nexitence-white);
}

.nexitence-process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.nexitence-process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--nexitence-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nexitence-process-step {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.nexitence-process-step:nth-child(odd) {
    flex-direction: row;
}

.nexitence-process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.nexitence-process-number {
    background: var(--nexitence-primary);
    color: var(--nexitence-white);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    transition: var(--nexitence-transition);
}

.nexitence-process-number:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.nexitence-process-content {
    background: var(--nexitence-light);
    padding: 2.5rem;
    border-radius: var(--nexitence-border-radius);
    box-shadow: var(--nexitence-shadow);
    margin: 0 3rem;
    flex: 1;
    max-width: 400px;
    transition: var(--nexitence-transition);
    position: relative;
    overflow: hidden;
}

.nexitence-process-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--nexitence-gradient);
}

.nexitence-process-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.nexitence-process-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nexitence-dark);
    margin-bottom: 1rem;
}

.nexitence-process-description {
    color: var(--nexitence-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Advantages Section */
.nexitence-advantages {
    padding: 6rem 0;
    background: var(--nexitence-light);
}

.nexitence-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nexitence-advantage-card {
    background: var(--nexitence-white);
    padding: 2.5rem;
    border-radius: var(--nexitence-border-radius);
    box-shadow: var(--nexitence-shadow);
    text-align: center;
    transition: var(--nexitence-transition);
    position: relative;
    overflow: hidden;
}

.nexitence-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nexitence-gradient);
}

.nexitence-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.nexitence-advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nexitence-gradient);
    border-radius: 50%;
    color: var(--nexitence-white);
    font-size: 1.75rem;
    transition: var(--nexitence-transition);
}

.nexitence-advantage-icon:hover {
    transform: scale(1.1);
}

.nexitence-advantage-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nexitence-dark);
    margin-bottom: 1rem;
}

.nexitence-advantage-description {
    color: var(--nexitence-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nexitence-services-hero-title {
        font-size: 2.5rem;
    }
    
    .nexitence-services-grid {
        grid-template-columns: 1fr;
    }
    
    .nexitence-capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .nexitence-tech-stack {
        grid-template-columns: 1fr;
    }
    
    .nexitence-process-timeline::before {
        left: 20px;
    }
    
    .nexitence-process-step {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 3rem;
    }
    
    .nexitence-process-number {
        position: absolute;
        left: 0;
        transform: translateX(-50%);
    }
    
    .nexitence-process-content {
        margin: 0;
        max-width: 100%;
    }
    
    .nexitence-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .nexitence-service-card {
        padding: 2rem;
    }
}
