/* Services Page Specific Styles */

/* Hero Section */
/* Services page hero section now uses the global 20vh height */

/* Services page specific hero content styles */

/* Services Overview Section */
.services-overview {
    padding: 2rem 0;
    background-color: #f8fafc;
}

/* Service Section Styles */
.service-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.service-header {
    padding: 1.5rem 2rem;
    background-color: white;
    color: var(--primary-color);    
    box-shadow: var(--shadow);
}

.service-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-content {
    padding: 2rem;
}

.service-description {
    margin-bottom: 2rem;
}

.service-description h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.service-description p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-description ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-description ul li {
    margin-bottom: 0.8rem;
    color: #475569;
    line-height: 1.6;
}

.tech-list {
    margin-top: 1rem;
}

/* Stats Section */
.service-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    flex: 1 1 150px;
    margin: 0.5rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Differentiators Section */
.service-differentiators {
    margin-top: 2.5rem;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 1.5rem;
}

.differentiator-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.differentiator-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.differentiator-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.differentiator-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.differentiator-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.differentiator-item p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Legacy Service Card Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .differentiator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Page-specific responsive styles for hero are now handled in styles.css */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-stats {
        flex-direction: column;
    }

    .stat-item {
        margin: 0.5rem 0;
    }

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

@media (max-width: 576px) {
    /* Page-specific responsive styles for hero are now handled in styles.css */
    .service-card {
        padding: 1.5rem;
    }

    .service-header {
        padding: 1rem 1.5rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-content {
        padding: 1.5rem;
    }
}
