﻿/* ===== SERVICES PAGE STYLES ===== */

/* Services Hero Section */
.services-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    text-align: center;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

.services-hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* Detailed Services Section */
.detailed-services {
    padding: 6rem 0;
    background: #f8fafc;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

    .service-detail.reverse {
        direction: rtl;
    }

        .service-detail.reverse > * {
            direction: ltr;
        }

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.service-content > p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon-small {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #64748b;
    margin: 0;
}

/* Service Visuals */
.automation-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 20px;
    padding: 2rem;
    color: white;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid transparent;
}

    .workflow-step.active {
        border-color: white;
        background: rgba(255, 255, 255, 0.3);
    }

.workflow-arrow {
    font-size: 1.5rem;
    font-weight: bold;
}

.image-recognition-demo {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.demo-image {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.recognition-results {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
}

.result-item {
    padding: 0.5rem 0;
    color: #059669;
    font-weight: 600;
}

.analytics-demo {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.chart-container {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 0.5rem;
    height: 150px;
    margin-bottom: 1rem;
}

.chart-bar {
    width: 30px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 4px 4px 0 0;
    animation: chartGrow 1s ease-out;
}

    .chart-bar.prediction {
        background: linear-gradient(45deg, #10b981, #059669);
        animation: chartGrow 1s ease-out 0.5s both;
    }

@keyframes chartGrow {
    from {
        height: 0;
    }
}

.prediction-label {
    color: #059669;
    font-weight: 700;
    font-size: 1.1rem;
}

.nlp-demo {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
}

.chat-message {
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    max-width: 80%;
}

    .chat-message.user {
        background: #3b82f6;
        color: white;
        margin-left: auto;
        text-align: right;
    }

    .chat-message.bot {
        background: white;
        color: #1e293b;
        border: 2px solid #e2e8f0;
    }

.sentiment-indicator {
    text-align: center;
    padding: 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

    .sentiment-indicator.positive {
        background: #dcfce7;
        color: #059669;
    }

/* Services CTA */
.services-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .services-hero-content h1 {
        font-size: 2.5rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .service-content h2 {
        font-size: 2rem;
    }

    .automation-demo {
        flex-direction: column;
        gap: 1rem;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero-content h1 {
        font-size: 2rem;
    }

    .service-detail {
        padding: 1.5rem;
    }

    .service-content h2 {
        font-size: 1.75rem;
    }
}
