/* Our Services Page Styles */

/* Services Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    padding: 120px 0 var(--spacing-2xl);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.services-hero .hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.services-hero .hero-title {
    font-size: clamp(3rem, 5vw, 4.1rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: #090C9B;
    font-weight:400;
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.services-hero .hero-cta {
    background: transparent;
    color: var(--gray-dark);
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.services-hero .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-yellow);
    transform: skew(-15deg);
    z-index: -1;
    transition: all 0.3s ease;
}

.services-hero .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.services-hero .hero-cta:hover::before {
    background: var(--accent-orange);
}

/* Puzzle Visual */
.puzzle-visual {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    border-radius: 20px;
}

.puzzle-piece {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.puzzle-blue {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-dark) 100%);
    top: 50px;
    left: 80px;
    clip-path: polygon(0% 0%, 70% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
    animation-delay: 0s;
}

.puzzle-yellow {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    bottom: 50px;
    right: 80px;
    clip-path: polygon(15% 0%, 100% 0%, 100% 70%, 85% 85%, 85% 100%, 15% 100%, 0% 85%, 0% 15%);
    animation-delay: 3s;
}

.connection-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Services Sections */
.services-section,
.automation-section,
.support-section {
    padding: var(--spacing-2xl) 0;
}

.services-section {
    background: var(--white);
}

.automation-section {
    background: var(--gray-light);
}

.support-section {
    background: var(--white);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #090C9B;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
}

.section-title svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--accent-yellow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-purple);
}

.service-card h3 {
    font-size: 1.3rem;
    color: #090C9B;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.service-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.service-subtitle {
    font-size: 1rem;
    color: #090C9B;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
    font-style: italic;
}

.service-card p {
    color: #090C9B;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #090C9B;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #090C9B;
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
}

/* CTA Section Specific to Services */
.cta-section {
    background: rgb(9, 12, 155);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.cta-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 50px rgba(245, 158, 11, 0.9);
    }
}

/* Automation Consulting Section - Blue Theme */
.automation-section .service-card {
    border-left: 4px solid #3772ff;
}

.automation-section .service-card:hover {
    border-color: #F59E0B;
}

.automation-section .service-features li::before {
    color: #090C9B;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services-hero .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .services-hero {
        padding: 50px 0 var(--spacing-xl);
    }
    
    .puzzle-visual {
        width: 300px;
        height: 300px;
    }
    
    .puzzle-piece {
        width: 120px;
        height: 120px;
    }
    
    .puzzle-blue {
        top: 40px;
        left: 60px;
    }
    
    .puzzle-yellow {
        bottom: 40px;
        right: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .section-title {
        flex-direction: row;
        gap: var(--spacing-xs);
        flex-wrap: nowrap;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        white-space: nowrap;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .puzzle-visual {
        width: 250px;
        height: 250px;
    }
    
    .puzzle-piece {
        width: 100px;
        height: 100px;
    }
    
    .connection-glow {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
}