/* Services Page Specific Styles */

/* Services Hero */
.services-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.services-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-hero .hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Active nav link */
.nav-link.active {
    color: #0066cc;
}

.nav-link.active::after {
    width: 100%;
}

/* Services Detailed Section */
.services-detailed {
    padding: 100px 0;
    background: white;
}

.service-detail {
    margin-bottom: 100px;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0066cc, #004499);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.service-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.service-info > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 50px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.feature i {
    color: #0066cc;
    font-size: 1.2rem;
}

/* Service Process */
.service-process {
    margin-bottom: 50px;
}

.service-process h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.process-steps {
    display: grid;
    gap: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    line-height: 1.5;
}

/* Testing Types */
.testing-types {
    margin-bottom: 50px;
}

.testing-types h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.testing-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.testing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testing-card i {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 15px;
}

.testing-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.testing-card p {
    color: #666;
    line-height: 1.5;
}

/* Consulting Areas */
.consulting-areas {
    margin-bottom: 50px;
}

.consulting-areas h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.areas-list {
    display: grid;
    gap: 20px;
}

.area {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #0066cc;
}

.area h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.area p {
    color: #666;
    line-height: 1.5;
}

/* Service Images */
.service-image {
    text-align: center;
}

.service-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Technology Stack Section */
.technology-stack {
    padding: 100px 0;
    background: #f8f9fa;
}

.tech-showcase {
    margin: 40px auto 0;
    max-width: 800px;
    text-align: center;
}

.tech-showcase-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-showcase-img:hover {
    transform: scale(1.02);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-category {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-10px);
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tech-item {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
}

/* Services CTA */
.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    text-align: center;
}

.services-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-hero .hero-content p {
        font-size: 1.1rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .service-info h2 {
        font-size: 2rem;
    }

    .testing-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .process-steps {
        gap: 20px;
    }

    .step {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .services-hero .hero-content h1 {
        font-size: 2rem;
    }

    .service-info h2 {
        font-size: 1.8rem;
    }

    .service-icon-large {
        width: 80px;
        height: 80px;
    }

    .service-icon-large i {
        font-size: 2rem;
    }

    .tech-items {
        gap: 8px;
    }

    .tech-item {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Animation for service cards */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-detail:nth-child(odd) .service-content {
    animation: slideInLeft 0.8s ease forwards;
}

.service-detail:nth-child(even) .service-content {
    animation: slideInRight 0.8s ease forwards;
}
