/* ========== SERVICES PAGE STYLES ========== */

/* Services Overview Section */
.services-overview-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(8, 145, 178, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(8, 145, 178, 0.2);
}

.service-image {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
    flex-shrink: 0;
}

.service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.service-feature-tag {
    background: rgba(8, 145, 178, 0.08);
    color: var(--primary-color);
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.service-btn {
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
}

.service-btn-primary {
    background: var(--primary-color);
    color: white;
    flex: 1;
    justify-content: center;
}

.service-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.service-btn-secondary {
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(8, 145, 178, 0.2);
    flex: 1;
    justify-content: center;
}

.service-btn-secondary:hover {
    background: rgba(8, 145, 178, 0.15);
    transform: translateY(-1px);
}

/* No Services State */
.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(8, 145, 178, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(8, 145, 178, 0.2);
}

.no-services-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.no-services h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.no-services p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Services CTA Section */
.services-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.services-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.services-cta-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.services-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.cta-btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .services-cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-overview-section {
        padding: 2rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.8125rem;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .service-btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-cta-section {
        padding: 3rem 0;
    }
    
    .services-cta-title {
        font-size: 1.75rem;
    }
    
    .services-cta-description {
        font-size: 1rem;
    }
    
    .services-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-overview-section {
        padding: 1.5rem 0;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .service-icon img {
        width: 28px;
        height: 28px;
    }
    
    .service-title {
        font-size: 0.9375rem;
    }
    
    .service-description {
        font-size: 0.75rem;
    }
    
    .service-feature-tag {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }
    
    .service-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .services-cta-section {
        padding: 2rem 0;
    }
    
    .services-cta-title {
        font-size: 1.5rem;
    }
    
    .services-cta-description {
        font-size: 0.9375rem;
    }
    
    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}